aspose file tools*
The moose likes JSP and the fly likes New row adds to output on page refresh Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "New row adds to output on page refresh" Watch "New row adds to output on page refresh" New topic
Author

New row adds to output on page refresh

Kalai Selvi
Ranch Hand

Joined: Jan 08, 2007
Posts: 45
I am using jsp tag libraries to access data from the database and display using jsp.
When i open the jsp page the first time, i get correct number of records( say 1 record). When i click refresh button, i get the same row again( so now i have 2 records).

New row gets added to the output the number of times i refresh the page. Why is this happening?
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Why is this happening?

Without seeing your code, we would have no way of knowing.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: New row adds to output on page refresh