File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
JavaRanch » Java Forums » Java » Servlets
Bookmark "Deploying a servlet" Watch "Deploying a servlet" New topic

Deploying a servlet

DK Taylor

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?

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

Thanks,<br />Dana
Ben Souther

Joined: Dec 11, 2004
Posts: 13410

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

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.

I agree. Here's the link:
subject: Deploying a servlet
It's not a secret anymore!