wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
 
 
subject: Websphere. running servlets from subdirectories
 
Similar Threads
Guidelines: Packaging J2EE applications
How to render and update a “form” within a condition using primefaces
DTD in XML
[object can't cast]????
import javax.servlet.*;