Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Websphere. running servlets from subdirectories

 
alan ball
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic