>>> raghuk <[EMAIL PROTECTED]> 11-Apr-00 1:35:07 PM >>>
>My html page has a listbox containing 25 records. I delete say 3
>records from it. The deletion is done in a DeleteServlet.
>After deletions, I want to reload the same page having the listbox
so
>that changes are reflected. Now I would like to see only 25-3 =22
>records in my list box (in effect refreshing the page)in the
resultant
>page. For reasons, I cannot doaway with listbox and replace it with
>check boxes or etc.
Your html page is generated by DeleteServlet I suspect?
If so I can't see your problem... have DeleteServlet return the new
page.
If you turn off caching of pages or have an enclosing frame for your
pages you can avoid the user pressing the BACK button to return to the
previous page.
In fact I would design it slightly differenty, I would have
DeleteServlet pass the request on to another servlet (or JSP) to
display the page in a sort of MVC model.
Nic
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html