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

urgent websphere 3.5 and response.sendRedirect

 
manmit singh
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i have configured my application on websphere 3.5 as well as tomcat
context path in both cases is set to /Eorder
if i am doin a response.sendRedirect("\Eorder\servlet\classname") in tomcat it is working properly.
but if i am doin a response.sendRedirect("\Eorder\servlet\classname") in websphere i am getting page could not be found on my browser.so if i change
to response.sendRedirect("\servlet\classname") it is working fine.
can any one tell me what could be the reason.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Many web-application operations are relative to the current servlet context and WebSphere takes care of this for you. You should find the same behaviour when using forwards and includes.
Dave
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic