Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deploying struts app on Tomcat 4.1

Status
Not open for further replies.

DKL01

Programmer
Sep 14, 2000
233
US
Hello,

We are developing struts application and deploying on Tomcat. Somewhere I was reading that we should copy all JSP files into \tomcat\webapps\struts\jsp. This structure is fine if we have one application. What if we have more than one struts apps ? What should the folder structure ? Really appreciate any suggestions.

Thanks
 
One practice is to develop your app outside of the tomcat area, then build a war file and dump the war file in tomcat/webapps ready for deployment ...
 
Hi,

The structure would be the same as a normal web applictions that you deploy in tomcat. The structure would be some thing like this

/SturtsApp
/StrutsApp/jsp/ all jsp files
/StrutsApp/html/ all html files
/StrutsApp/images/ all images files
/StrutsApp/WEB-INF/ all conf files like web.xml, struts-congi.xml and tld files
/StrutsApp/WEB-INF/lib all necessary jar files
/StrutsApp/WEB-INF/classes all java beans and action classes
/StrutsApp/WEB-INF/classes all properties files like ApplicationResourses.properties
/StrutsApp/src all java files


Cheers,
Venu
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top