*
The moose likes JSP and the fly likes Issue with displaying data back on the page Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Issue with displaying data back on the page" Watch "Issue with displaying data back on the page" New topic
Author

Issue with displaying data back on the page

Aman Singh
Ranch Hand

Joined: Oct 30, 2008
Posts: 57
Hi Experts,

I have a form which runs an INSERT and UPDATE queries on an Oralce table.
I am able to successfully run both the queries and update backend table,
but the issue I am facing is: Changes are not reflected on the JSP page.
I either have to open the same page in a different broswer window to
see the changes or refresh many times to see it.

I am using DisplayTag for table display.

How do I fix this issue?

Will SendRedirect to same page help in this case?
Your help is highly appreciated.

Siva Masilamani
Ranch Hand

Joined: Sep 19, 2008
Posts: 385
How do you get this data in the jsp?

make sure you are getting the attribute from the correct scope.

If possible show the JSP code.


SCJP 6,SCWCD 5,SCBCD 5

Failure is not an option.
Aman Singh
Ranch Hand

Joined: Oct 30, 2008
Posts: 57
Thanks for the reply Siva.

Heres the JSP code. I have also attached the snapshot of page.




[Thumbnail for refresh.PNG]

 
 
subject: Issue with displaying data back on the page
 
Similar Threads
I cant set any values in my Action Form for Contact object:
Problem in setting the date in a servlet
Calling stored procedure
Element type "chartLegend" must be declared
comparing date