aspose file tools*
The moose likes Servlets and the fly likes Is there any way, we can run the servlet just after compiling Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Is there any way, we can run the servlet just after compiling" Watch "Is there any way, we can run the servlet just after compiling" New topic
Author

Is there any way, we can run the servlet just after compiling

Siva kandasamy
Ranch Hand

Joined: Dec 31, 2002
Posts: 139
Hi ,
I have Sun One Webserver 6.1 sp3 installed in my sparc.

1. Is there any way, we can run the servlet just after compiling the servlet code, with out me to configur web.xml and shutding down and re-starting the webs erver time I create a new servlet.

2. Or do you recommend some other web server ?

thanks
siva
dema rogatkin
Ranch Hand

Joined: Oct 09, 2002
Posts: 294
Tomcat, WebLogic (in developer mode)


Tough in space?, <a href="http://tjws.sf.net" target="_blank" rel="nofollow">Get J2EE servlet container under 150Kbytes here</a><br />Love your iPod and want it anywhere?<a href="http://mediachest.sf.net" target="_blank" rel="nofollow">Check it here.</a><br /><a href="http://7bee.j2ee.us/book/Generics%20in%20JDK%201.5.html" target="_blank" rel="nofollow">Curious about generic in Java?</a><br /><a href="http://7bee.j2ee.us/bee/index-bee.html" target="_blank" rel="nofollow">Hate ant? Use bee.</a><br /><a href="http://7bee.j2ee.us/addressbook/" target="_blank" rel="nofollow">Need contacts anywhere?</a><br /><a href="http://searchdir.sourceforge.net/" target="_blank" rel="nofollow">How to promote your business with a search engine</a>
Siva kandasamy
Ranch Hand

Joined: Dec 31, 2002
Posts: 139
Thanks.
-siva
Manoj Kumkumath
Ranch Hand

Joined: Dec 01, 2005
Posts: 71

we can run the servlet just after compiling the servlet code, with out me to configur web.xml and shutding down and re-starting the webs erver time I create a new servlet.


My understanding is that you can not run a new sevlet in a web server unless you configure it in web.xml. The container needs web.xml to know about servets it have to run.
[ February 01, 2006: Message edited by: Manoj Kumkumath ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Is there any way, we can run the servlet just after compiling