aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "servlets in jswdk-1.0.1" Watch "servlets in jswdk-1.0.1" New topic
Author

servlets in jswdk-1.0.1

Anonymous
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
Wanderer
Sheriff

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
Rancher

Joined: Mar 22, 2000
Posts: 12806
    
    5
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:
jakarta.apache.org
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 java.sun.com to get the details.
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: servlets in jswdk-1.0.1