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 servlets without  worrying about the mapping? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets without  worrying about the mapping?" Watch "servlets without  worrying about the mapping?" New topic
Author

servlets without worrying about the mapping?

panindra nath
Greenhorn

Joined: Jan 23, 2008
Posts: 1
Hi i m new to this forum....

i compiled 2 servlets and copied the class files under C:\Program Files\Apache Software Foundation\Tomcat 5.0\webapps\ROOT\WEB-INF\classes ...suppose the two class files are s1.class and s2.class... i got the output for s1 by making changes in web.xml(modifying url and servlet class) ....now my question is how can i execute s2?.....can i actually run all servlets without having to worry about the mapping?

thanks......
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12671
    
    5
can i actually run all servlets without having to worry about the mapping?


If you are going to work with servlets you need to learn all about the use of the web.xml deployment descriptor. Shortcuts will eventually get you in trouble.

Bill


Java Resources at www.wbrogden.com
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets without worrying about the mapping?
 
Similar Threads
Strings...
Servlets in different containers
Behaviour of String and StringBuffer class.
equals() method and == operator
confused about inheritance