Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

on clicking refresh the jsp the value from a bean are duplicated  RSS feed

 
rangan kumaravel
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi i m new to this forum it looks really good

i am getting the value from a bean and displaying in a jsp page

Serial Name Of
Number Location The Builder Locality


2 chennai SABUILD METROCOLONY

8 chennai restat pallikaranai



when i click refresh the values are being duplicated as below please help me to solve the issue. i dont want the duplicate.

Serial Name Of
Number Location The Builder Locality


2 chennai SABUILD METROCOLONY

8 chennai restat pallikaranai

2 chennai SABUILD METROCOLONY

8 chennai restat pallikaranai
 
Surya Kant
Ranch Hand
Posts: 104
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looks like P-R-G pattern.Can you please post your JSP?
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Surya Kant wrote:Looks like P-R-G pattern.
Huh?

Looks like PRG?? This statement makes no sense. He should be applying PRG pattern to solve this problem. It's in fact easy: send a redirect after processing of the POST, but before sending of any response. Check the JSP FAQ here for more details.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!