This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Deploying a servlet
 
Similar Threads
jar files
testing servlet thread safety
Relative path with JAR files
Downloading an Image
Executing many main methods in a jar file