1.You generally can not. 2. What to GETs it's usually no matter how many times the user agent requests it - this is its time for the first what is waisted - and the server time as well, of course. 3. What to POSTs - it is useful to assign a unique transaction number to a form being sent to the user agent (in a HIDDEN field FE)and then check it and process appropriately in doPost(). Between requests you save this number in the session context, and if POST is requested for this very transaction second, third and so on time you simply deny it. -----Original Message----- From: A mailing list for discussion about Sun Microsystem's Java Servlet API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Subramanian A K Sent: Thursday, January 06, 2000 5:27 AM To: [EMAIL PROTECTED] Subject: Hi, when a servlet/html is executed and while am in the browser if the refresh/reload button is pressed doget() or dopost() is getting invoked. can we control this? TIA aks ___________________________________________________________________________ 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 ===== ===================================== Mikhail A.GOLOVANOV Software engineering & services Tel +7 095 515 23 81 Email [EMAIL PROTECTED] [EMAIL PROTECTED] __________________________________________________ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com ___________________________________________________________________________ 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
