You could do some tricks in the
url, either:
        1) extend the path so that
http://zone/servlet/loginone
sends the user to http://zone/servlet/main/one
and http://zone/servlet/logintwo
sends the user to
http://zone/servlet/main/two
map your main servlet to
http://zone/servlet/main
and on session timeout get the
'extra' path info and redirect
accordingly.

        2) map your main servlet(s)
twice, each with an initarg pointing
at their respective login page

the second is probably tidier,
especially if you want internal
differences in the main servlet.

"Basuki, Rendra" <[EMAIL PROTECTED]> wrote:
__________
>Hi guys,
>
>I have two different login page for different kind of user. If the user
>wants to enter from Login page one, whne they logged out or got session
>timed out, I would like them to return to the page that they logged from.
http://www.westpoint.ltd.uk/

Internet reconnaissance services.

___________________________________________________________________________
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