O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Deploying and Running the Application

In order to run any J2EE Web application, it must be deployed into the Web server. For this application, the directory structure EShopping must be created under the root context for the server. Within the EShopping directory, there must be a subdirectory structure, as follows.

./EShopping
./EShopping/META-INF
./EShopping/WEB-INF
./EShopping/WEB-INF/classes
./EShopping/WEB-INF/classes/examples
./EShopping/WEB-INF/classes/examples/struts
./EShopping/WEB-INF/lib

In order to invoke the main menu through the Struts controller, we use the following URL.

http://localhost:8080/mainMenu.do

Within the WEB-INF directory, Struts requires a number of configuration files. The following contains a listing of this directory. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required