File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JSP and the fly likes update of JSP with latest values(Refresh problem) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Reply locked New topic

update of JSP with latest values(Refresh problem)

Tripura Kondabala

Joined: Jun 26, 2007
Posts: 1
Hi..I have a confusing issue the issue is ....
I have a jsp page called mypage1.jsp in this page I can add many item by cliciking new and i have two field( name and description) for each item

When I click on name filed I will be taken to mypage2.jsp where I can make new selections and click on Save button ,once the Save button is pressed I get a popup which has existing name and description field values and which can be edited.
when i edit this fields and click OK I am moved to mypage1.jsp, where it has to show the updated name and description fileds,
But currently it is showing the old values only, if I refresh the page then fileds are getting updated.
When I kept System.out.priintln's in mypage1.jsp I am getting the latest values but the are not reflected in the page unless and until I explicitly click refresh button or open a new browser.
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63838

Are you Subbarao Kondabala or Tripura Kondabala?

it is against forum policy to post from different accounts. Please choose one and post from that account. Also, please do not post the same question more than once.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: update of JSP with latest values(Refresh problem)
It's not a secret anymore!