tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Frank Lawlor" <>
Subject Re: login from home page
Date Fri, 26 Oct 2001 15:06:07 GMT
You (normally) should not be doing the login from
your home page.  If you use the tomcat security
by specifying a <security-constraint> in web.xml
it will invoke your login.jsp the first time someone
trys to access the secured area.  If they log in ok
then it will continue on to whatever page you were
trying to get to (e.g., your home page).

The client should type something as a URL which
you will target to the home page.  This might be a 
direct reference to your home page, a generic 
reference which uses a <welcome-file-list> element
to default to your home page, or servlet mapping,

There are lots of books with introductory examples,
tutorials online, and I think an example in the tomcat

Frank Lawlor
Athens Group, Inc.
(512) 345-0600 x151
Athens Group, an employee-owned consulting firm integrating technology
strategy and software solutions.

View raw message