• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Running Packaged Servlets on iPlanet Webserver

 
Suresh Bansal
Ranch Hand
Posts: 91
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friends,
I am running servlets on iPlanet webserver.
Do do so, I placed the class files in directory serverdir/docs/servlet and ran them successfully.
Now i want to run servlets which are in a package. So, i created the right directory structure inside serverdir/docs/servlet and ran it by putting the whole package name and class name in my browser.
Now my question.
I want to run the servlet by only servlet name. I do not want to put the whole package also in browser ???
Thanks
 
Sam Dalton
Author
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out the web.xml file that should be defined for your web applications. You can define servlet mappings here.
Check out my the javaone presentations on my web site for a further discussion of this. Please drop me a line if this is helpful
www.samjdalton.com
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic