You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Vinita Keswani <vi...@yahoo.com> on 2003/10/31 00:07:31 UTC

Deploying on TOMCAT

Hello,

 

I am trying to deploy my struts application on tomcat..does somebody have a list of do's and dont's for that which paths to set etc...for eg: where does struts-config go?

 

Thanks in advance



---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

Re: Deploying on TOMCAT

Posted by Vinita Keswani <vi...@yahoo.com>.
Thanks!! This is a great help....

Jacob Wilson <st...@yahoo.com> wrote:Vinitha,

Assume 'Tomcat\webapps\root' is your project folder...

Create separate folders of images, js, html, styles etc. and place the respective files in the respective folders...

Place all your jsps in the root directly...

the web-inf should be in your root...

in the web-inf place your web.xml and struts-config and all tld files...

create a folder lib in your web-inf and place all the jars in the lib folder

set your java classpath in your catalina.bat that lies in the bin folder...

Run the server and write a action and check... This should work...

Hope this helps...

-J


Vinita Keswani wrote:

Hello,



I am trying to deploy my struts application on tomcat..does somebody have a list of do's and dont's for that which paths to set etc...for eg: where does struts-config go?



Thanks in advance



---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears


---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

Re: Deploying on TOMCAT

Posted by Jacob Wilson <st...@yahoo.com>.
Vinitha,
 
Assume 'Tomcat\webapps\root' is your project folder...
 
Create separate folders of images, js, html, styles etc. and place the respective files in the respective folders...
 
Place all your jsps in the root directly...
 
the web-inf should be in your root...
 
in the web-inf place your web.xml and struts-config and all tld files...
 
create a folder lib in your web-inf and place all the jars in the lib folder
 
set your java classpath in your catalina.bat that lies in the bin folder...
 
Run the server and write a action and check... This should work...
 
Hope this helps...
 
-J


Vinita Keswani <vi...@yahoo.com> wrote:

Hello,



I am trying to deploy my struts application on tomcat..does somebody have a list of do's and dont's for that which paths to set etc...for eg: where does struts-config go?



Thanks in advance



---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears

---------------------------------
Do you Yahoo!?
Exclusive Video Premiere - Britney Spears