This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Servlets and the fly likes Websphere. running servlets from subdirectories Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "Websphere. running servlets from subdirectories" Watch "Websphere. running servlets from subdirectories" New topic
Author

Websphere. running servlets from subdirectories

alan ball
Greenhorn

Joined: Jan 12, 2003
Posts: 2
hi,
Having some trouble getting servlets to run in sub directories. Does anybody know the changes that have to be made to make them available. I have them working when "context root" is (/). I have tried a few things in the web.xml file but still no luck.
Does the servlet class have to contain the sub directory name?
ie. name.existing.address
Does the url-pattern have to contain the subdirectory?
Any help is appreciated.
Thanks,
Alan
alan ball
Greenhorn

Joined: Jan 12, 2003
Posts: 2
I have it working in resin by simply changing the url-pattern. I tried this in websphere and again no luck.
If anybody has any solutions please let me know. I have looked everywhere for this.
Thanks again,
Alan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Websphere. running servlets from subdirectories
 
Similar Threads
[object can't cast]????
Guidelines: Packaging J2EE applications
DTD in XML
import javax.servlet.*;
How to render and update a “form” within a condition using primefaces