Win a copy of Pragmatic AI this week in the Artificial Intelligence forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Campbell Ritchie
  • Tim Cooke
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Junilu Lacar
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Ganesh Patekar
  • Tim Moores
  • Pete Letkeman
  • Stephan van Hulst
Bartenders:
  • Carey Brown
  • Tim Holloway
  • Joe Ess

servlets in jswdk-1.0.1  RSS feed

 
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
 
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.
 
Author and all-around good cowpoke
Rancher
Posts: 13078
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!