File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes how to manually deploy a servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » Servlets
Reply Bookmark "how to manually deploy a servlet" Watch "how to manually deploy a servlet" New topic
Author

how to manually deploy a servlet

Sree kanth
Ranch Hand

Joined: Feb 02, 2005
Posts: 53
hi all

What all are the setps which i have to perform if i am deployin a servlet without deploytool. I am using J2ee1.4 server

Rgds
Sree


Sree
Pradeep bhatt
Ranch Hand

Joined: Feb 27, 2002
Posts: 8876

1. Copy your Servlet class to the WEB-INF/classes folder
2. Add servlet and url-mapping entry in the web.xml file.


Groovy
Frank Carver
Sheriff

Joined: Jan 07, 1999
Posts: 6913
Originally posted by Pradip Bhat:
1. Copy your Servlet class to the WEB-INF/classes folder
2. Add servlet and url-mapping entry in the web.xml file.


And don't forget to tell the server that the on-disk configuration has changed. The generic "brute force" way is to restart the server, but most modern servers also support some form of "ping" to tell them to reload their configurations.


A Convergent Visionary ~ Frank's Punchbarrel Blog ~ LinkedIn profile
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2300
Originally posted by Sree kanth:
hi all

What all are the setps which i have to perform if i am deployin a servlet without deploytool. I am using J2ee1.4 server

Rgds
Sree


if you are using tomcat (not sure about the other servers/containers) you can create a .war file and then put it into the deployment directory.the server would automatically deploy that for you when you restart the server..

Cheers!


Rahul Bhattacharjee
LinkedIn - Blog
Sree kanth
Ranch Hand

Joined: Feb 02, 2005
Posts: 53
thnk you verymuch

Rgds
Sree
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: how to manually deploy a servlet
 
Similar Threads
FacesContext and Servlet
Faces Servlet
How to write a sipservlet application
JSP & Servlet Differences
HTTP Vesion Implemented by Servlet 2.3