Two Laptop Bag*
The moose likes Servlets and the fly likes How to prevent a New Browser instance everytime I press my add button Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "How to prevent a New Browser instance everytime I press my add button" Watch "How to prevent a New Browser instance everytime I press my add button" New topic
Author

How to prevent a New Browser instance everytime I press my add button

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have a HTML form with a combo box and a add button
Whatever I add is displayed again in the same form
But I find that for each add I click it opens a new browser instance becoz of which when I press back I find
the number of Html forms equivalent to my number of times I press add.
Why is this happening
It does not happen in the examples I checked
How to avoid this
I am using a JSP file which repatedly calls itself using
a servlet.
Please help me
 
 
subject: How to prevent a New Browser instance everytime I press my add button
 
Similar Threads
Dynamically adding rows to JSP
Session management in Servlets
A Problem related to KEYEVENTS
Add new text field on each press of a button and retrieve values
Adding dynamic rows in JSP