Title: default page
hey chris,
 
it doesn't sound like your using tomcat java security.. but why dont you.. its simplish and allows you to protect areas of you website based on role and server path && file and database user names & passwords. also alows digesting a password.
 
just put the <login-form> tags in your web.xml.  then put in a <security-constraint>
put j_username & j_password in the login page form called j_security_check
then you add your users to tomcat/conf/tomcat-users.
 
then set your welcome list to be a protected page.. that will cause tomcat to put up the login page before you can get to the protected page.
 
hope this helps at all.
 
regards,
 
warren. 
 
-----Original Message-----
From: Chris Huisman [mailto:[EMAIL PROTECTED]]
Sent: Friday, 8 June 2001 9:21 AM
To: '[EMAIL PROTECTED]'
Subject: default page

I would like to have the login page of my webapp show up when the user enters the url http://localhost (or whatever the machine name is).  I would also like the login page to appear when the user types in http://localhost/web-app-name .  I am able to do this using Tomcat 3.1, but I need to do it in 3.2 as well.

Any suggestions would be helpful. 

Thank you


Chris Huisman   B.Sc. Specialization in Computing Science                  
mailto:[EMAIL PROTECTED]
Software Developer                          http://www.matrikon.com
Matrikon                                            Phone: (780) 448-1010 (ext. 4601)
Suite 1800 10405 Jasper Avenue          Fax: (780) 448-9191
Edmonton, Alberta, Canada, T5J 3N4  

Reply via email to