• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

servlets in jswdk-1.0.1

 
Anonymous
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The JavaRanch forum is for discussion about this Web site, not discussion of Java. I'm moving this to the Servlets forum.
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13058
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Don't get me started about those stupid light bulbs.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic