>1. Is there a way to change the URL content, when I call a servlet who
>makes me a HTML page. I�m doing a  login and password page, and when I do
>the SUBMIT, the next page (made by a servlet), has in the URL string both
>Login and Password. I don�t want theme there. What can I do?

You're using GET instead of POST!

>2. Is there a way to change or eliminate the parameteres which come with
>the Request of the Servlet?

You put a parameter in your Session-object that says someone has
logged in correctly. Then you do a response.sendRedirect to some
sort of Welcome-page.
This way the URL of the Welcome page is shown, not the URL that
did the actual authentication.

In every page that is accessed you check the Session-object for
this parameter to see if the user has logged in. If not you
'sendRedirect' him to the login page.
(see chapter 8 of Jason Hunter's book)

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.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

Reply via email to