jon * wrote:

> >  Hi there Craig! So, do you have any advice about how could I make this?
> > What I am trying to do is to validate the user, which can only display the
> > HTML after being authorized by creating the session, understand?
> >  He passes by a Login page, and if his password is ok, the session is
> > created by the getSession(true) method.
> >  If the user try to view the page by directly typing the URL in the
> > browser, that servlet tests whether the session has been created or not,
> > and if it's not, it should redirect to an Error page or something like
> > that, got my problem?
> >  The bad thing is that i want to finish this work quickly, i really can't
> > loose much time remaking everything...
> >  Thanks...
> >
>
> Why not just have it display the html for the Login page instead of doing
> the redirect?
>
> -jon
>

That would get the login page displayed, but unfortunately it won't suppress
the output of that portion of the .jhtml page that is after the <SERVLET> tag
:-(.

Craig

___________________________________________________________________________
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