You won't be able to send variables in the URL when using POST, if you still
are doing that (which works fine with GET).
-----Original Message-----
From: Kent Symanzik [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 09, 2000 12:01 PM
To: [EMAIL PROTECTED]
Subject: get vs post
I have a login jsp with a form that uses get. The action is handled by a
servlet. The servlet authenticates and forwards to my main html page. The
problem is that I want to switch to post so that the username and password
is not seen in the url but when I do this I get an error saying "HTTP method
POST is not supported by this URL". This is after the servlet has
authenticated so I think it is a problem with my requestDispatcher.forward.
Any suggestions?
Kent
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets