cancel
Showing results for 
Search instead for 
Did you mean: 

how to deploy the .war to tomcat

Former Member
0 Kudos

Hello All,

How to deploy the war file into tomcat server & work? Can any body enlighten me how to proceed and test the application?

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Mohan,

Just click this link below, http://www.jguru.com/faq/view.jsp?EID=123229

I think thiss will be helpful.

Thanks & Regards,

Kathirvel

Former Member
0 Kudos

Hi,

assumed you talk about Tomcat in general.

Simply copy you archive (xyz.war) into the subdir \webapps of your tomcat installation.

Invocation: http://hostname:port/xyz/resource

-> where xyz is the name of your archive and

-> resource is what you have specified within web.xml (<servlet-mapping> - tag) or a jsp / html you have in your archive.

-> host is your machine (try localhost for instance)

-> port usually is 8080

Hope that helps

M.