File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Tomcat and the fly likes working in seprate folder. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "working in seprate folder." Watch "working in seprate folder." New topic

working in seprate folder.

Vikrama Sanjeeva
Ranch Hand

Joined: Sep 02, 2001
Posts: 756
Hi guys,
Currently I am placing all my sevlets in C:\tomcat4.0\webapps\examples\WEB-INF\classes folder. But now I am trying to make my seprate folder for servlets working. Kindly tell me the procedure.
Same for JSP's.


Count the flowers of your garden, NOT the leafs which falls away!
Prepare IBM Exam 340 by joining
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13037
Download the servlet API from this Sun site for details on use of web.xml to define a web application. Also study the way the examples directory is set up.
Also, read
this FAQ material on the invoker servlet. The invoker is used in the examples but you should not use it in your new applications.
I agree. Here's the link:
subject: working in seprate folder.
It's not a secret anymore!