File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes Running Packaged Servlets on iPlanet Webserver Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "Running Packaged Servlets on iPlanet Webserver" Watch "Running Packaged Servlets on iPlanet Webserver" New topic

Running Packaged Servlets on iPlanet Webserver

Suresh Bansal
Ranch Hand

Joined: Jul 23, 2001
Posts: 91
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 ???

Journey is as important as the Destination.<br /> <br />PMP, SCJP, SCJD, SCEA (Part 1), SCMAD, SCDJWS
Sam Dalton
Ranch Hand

Joined: Jul 26, 2001
Posts: 170
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

<a href="" target="_blank" rel="nofollow">Sam Dalton</a>,<br />Co-author of []Professional JSP 2.0[/URL] (October 2003)<br />Co-author of <a href="" target="_blank" rel="nofollow">Professional SCWCD Certification</a><br />Co-author of <a href="" target="_blank" rel="nofollow">Professional Java Servlets 2.3</a>
I agree. Here's the link:
subject: Running Packaged Servlets on iPlanet Webserver
It's not a secret anymore!