You can use realm based authentication to acheive what you want to do. See
the Tomcat documentation 
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/realm-howto.html
and the Servlet specifications
http://java.sun.com/products/servlet/download.html
for more information

-----Original Message-----
From: Peter M. Nielsen [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, January 15, 2002 12:06 PM
To: Tomcat-User
Subject: Form-based login from html-page


I have tried to search the mailing-lists but unsuccesfull. What I'm looking
for is a way to login to restricted resources in my ROOT folder. I have a
tomcat-4.0.1 connected to apache 1.3.22 via mod_jk and both *.jsp files and
html files are supposed to be in the /-folder of the webserver. The
jsp-pages are restricted whereas the html-pages is for everyone. So the
basic question is how do I login from index.html via form-based login to a
specific page i.e. one.jsp?

Best regards, Peter M. Nielsen


--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

--
To unsubscribe:   <mailto:[EMAIL PROTECTED]>
For additional commands: <mailto:[EMAIL PROTECTED]>
Troubles with the list: <mailto:[EMAIL PROTECTED]>

Reply via email to