aspose file tools*
The moose likes Servlets and the fly likes calling Servlet with out web.xml Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "calling Servlet with out web.xml" Watch "calling Servlet with out web.xml" New topic
Author

calling Servlet with out web.xml

sitaram irrinki
Ranch Hand

Joined: Feb 16, 2005
Posts: 158
how to call a servlet with out using web.xml
Adeel Ansari
Ranch Hand

Joined: Aug 15, 2004
Posts: 2874
We can do that with earlier version of Tomcat. Read about invoker servlet. But its a sin. Check out Javaranch FAQs.
[ April 16, 2005: Message edited by: Adeel Ansari ]
Ganesh Gowtham
Ranch Hand

Joined: Mar 30, 2005
Posts: 225

hi ...

I dont think so w.o configuring the servlet name class and url pattern in WEB.XML ..

how come we call servlet ..

If there's any way let me know..
Thx and Regards
G R Ganesh Gowtham
grgowtham_cse@yahoo.com
Capricornsys inc, Hyderabad


Thanks, Ganesh Gowtham
http://ganesh.gowtham.googlepages.com
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

As Adeel said, Tomcat used to ship with an invoker servlet that allowed you to enter the package and class name of the servlet.
It turned out to be a disaster (see link in Adee's post) and has been disabled in recent versions.

The commented out configuration lines can be found in TOMCAT_HOME/conf/web.xml.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: calling Servlet with out web.xml