Hi all
As the subject suggests what is the easiest way to implement this?
Everytime I reload my page, my data gets resubmitted, how do I prevent
this?
Here is my sample code
<% String myComments = request.getParameter("COMMENTS"); %>
<% bean0.setConnection(); %>
<% if (myComments != null)
{
bean0.insertEntry(myComments);
}
%>
<%=bean0.getShow() %>
Is there some sort of flag I need to tell my JSP page to be aware off?
So it knows not to resubmit the data, or is there a way of reseting
parameters?
Thans in advance
Vince
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://archives.java.sun.com/jsp-interest.html
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.jsp
http://www.jguru.com/faq/index.jsp
http://www.jspinsider.com