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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets in jswdk-1.0.1" Watch "servlets in jswdk-1.0.1" New topic

servlets in jswdk-1.0.1

Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
i am using jswdk-1.0.1 and putting my servlet class files in jswdj-1.0.1/webpages/web-inf/servlet directory and then i map them after this i put the alias. all works well.
now the problem is i have to do this everytime i create a new servlet.
can i have a directory which can be mapped and all the servlet class files can be put in that so that i do not have to map the files again and again.
or could you tell me some other method to do this mapping again and again.
thank you
munish ohri
Jim Yingst

Joined: Jan 30, 2000
Posts: 18671
The JavaRanch forum is for discussion about this Web site, not discussion of Java. I'm moving this to the Servlets forum.

"I'm not back." - Bill Harding, Twister
William Brogden
Author and all-around good cowpoke

Joined: Mar 22, 2000
Posts: 13028
You really should not be using JSWDK 1.0.1 - Sun stopped all development of that and transfered all the code to the Apache organization (about 2 years ago as I recall). See the Tomcat site at:
The revision of the servlet API to 2.2, accomplished a lot of standardization about where the server should look for servlet classes so that they can be automatically run.
There is an excellent API specification that you can download from to get the details.
I agree. Here's the link:
subject: servlets in jswdk-1.0.1
It's not a secret anymore!