• Post Reply Bookmark Topic Watch Topic
  • New Topic

urgent help, forwarding back to previous page

 
Sunil K Bansal
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys
I m moving from 1st page to 2nd page
now after saving data on 2nd page, I want to forward on 1st page
I m using
jsp:forward page=1st.jsp
but data is not refreshed on ist page.
is there any problem in coming back to previous page using jsp:forward
please give me any alternate to this
i m using tomcat 4.0
thanx in advance
Bansal
 
Rajendar Goud
Ranch Hand
Posts: 220
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Bansal,
i think u can move forward only with <jsp:forward> tag,as the attribute name suggests.
For going back again,u may need to use
response.sendRedirect().i hadnt been using JSP for some time,but i think it will work..
Raj
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!