File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes urgent   websphere 3.5 and response.sendRedirect Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "urgent   websphere 3.5 and response.sendRedirect" Watch "urgent   websphere 3.5 and response.sendRedirect" New topic
Author

urgent websphere 3.5 and response.sendRedirect

manmit singh
Greenhorn

Joined: Oct 09, 2003
Posts: 1
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

Joined: Mar 06, 2001
Posts: 13459

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
 
wood burning stoves
 
subject: urgent websphere 3.5 and response.sendRedirect