aspose file tools*
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
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Websphere. running servlets from subdirectories