aspose file tools*
The moose likes Servlets and the fly likes Deploying a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deploying a servlet" Watch "Deploying a servlet" New topic
Author

Deploying a servlet

DK Taylor
Greenhorn

Joined: Mar 17, 2005
Posts: 22
I know I must have this in one of my books, but I can't find it.
I have a Web application (servlet, jsp, java classes, etc) that works in WSAD. (I'm also building and junit testing in Ant.) I have been testing on my machine. I want to put this on another server. I assume I want to "jar" it up, but
1. I'm not sure what it has to have, and
2. When I go through WSAD's export a Jar file, it wants the main class. Is the servlet the main class?

Can anyone point me toward the pinata?

Thanks
Dana
[ May 10, 2005: Message edited by: DK Taylor ]

Thanks,<br />Dana
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

http://www.coderanch.com/t/360432/Servlets/java/create-war-file


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
DK Taylor
Greenhorn

Joined: Mar 17, 2005
Posts: 22
Thanks, Ben.
WSAD makes a .war for my local server. I may be able to just copy that to the remote.

I'll read some more.

Dana
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Deploying a servlet