my dog learned polymorphism*
The moose likes Servlets and the fly likes response.sendRedirect() not performing Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "response.sendRedirect() not performing" Watch "response.sendRedirect() not performing" New topic
Author

response.sendRedirect() not performing

Harish Kashyap
Ranch Hand

Joined: Jun 14, 2000
Posts: 118
hi
can anybody suggest me a way for redirecting a client to some other url.
i'm using response.sendRedirect(url) in my jsp.
but it doesn't work.
this problem i've faced every time i tested my codes on Linux platform, no matter what web server or jsp engine i'm using
i'm very depressed
please help me
thanx
harish
Jason Allen
Greenhorn

Joined: Jan 25, 2001
Posts: 26
I was having the same problem, but have since got it to work. Could you supply a snippet of your code.
sandy gupta
Ranch Hand

Joined: Jan 30, 2001
Posts: 228
No need to get depressed man......in case it is not a problem, u can use forward in case sendredirect is not working...it'll be better in case u can put up the xceptions that u are getting...


Adios
Harish Kashyap
Ranch Hand

Joined: Jun 14, 2000
Posts: 118
when my jsp page is processed and the time it processes the sendRedirect() method then my browser says page not found the message that is displayed when your connection with the server is timed out.
it doesn't gives any exception.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: response.sendRedirect() not performing
 
Similar Threads
IllegalStateException help me
HttpClient and sendRedirect
response.sendRedirect() Parameters
sendRedirect(" ");
response.sendRedirect();jsp:forward;<c:redirect>