I have a servlet which uses a form to send some information. Currently it uses the 'get' method and the URL appears similar to below:
http: // ... /servlet/LoginServlet?userName=A&textfield=&ACTION=Login However, after the GET, the URL stays like above, and when the page is refreshed, the data is sent again. I want to refresh the page, but NOT send the data again. Effectvely, after sending the initial information i want to reset the URL above. So it just shows something like: http:// .... ./servlet/LoginServlet Any ideas? Should i try to use javascript or servlets? What are my options? Kind Regards, Alex PS.Changing from 'get' to 'post' doesn't solve the problem. With 'post' you can't see the information in the Address bar, but it is still there, as a refresh does indeed send the same information again. I need to clear the variable somehow... ___________________________________________________________________________ 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
