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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
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: 8919

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: 6920
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.


Read about me at frankcarver.me ~ Raspberry Alpha Omega ~ Frank's Punchbarrel Blog
Rahul Bhattacharjee
Ranch Hand

Joined: Nov 29, 2005
Posts: 2308
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://aspose.com/file-tools
 
subject: how to manually deploy a servlet