Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Servlet Deployment on Tomcat (linux)?

843842Sep 18 2009 — edited Sep 18 2009
Hi Folks,
I have implemented a web project (servlet) using Eclipse Ver.: 3.4.2 and Tomcat 5.5.28 (running locally) on windows machine. The project has been built and deployed successfully using Eclipse.

What I want now is to deploy the same project on a remote linux machine where Tomcat is running.

My current project's main folder hierarchy is as follows:

myWebProject
--->.settings
--->build
--->src
--->WebContent

Actually, what I need is to create a ".war" file (am i right?) and deploy it on the remote tomcat server. Currently, I have .class files under my build folder.

So kindly if some one could give me some pointer on how to make a .war file and deploy it on a linux tomcat server and if that is all I need to deploy and run the servlet?

Thanks.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 16 2009
Added on Sep 18 2009
5 comments
127 views