• Post Reply Bookmark Topic Watch Topic
  • New Topic

sendRedirect method  RSS feed

 
Debashree Halder
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need to click one modify button, upon which it goes to one jsp handler page....how to get back the controller again in the same (working) page?

I wrote

response.sendRedirect("1stPage.jsp");

in the second page

But it is not coming back to the 1st page.

Tell me where I'm wrong...

Regards,
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is it doing?
Are you getting errors, in the browser window, in your logs?
 
Debashree Halder
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nothing! it is showing page cannot be displayed.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Not an HTML question, so moved to the JSP forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!