> Because you haven't told Tomcat that those pages need to be protected by
> authentication. Do that, and Tomcat will handle the whole process for you.

But won't the authentication apply to the whole page in question? I'm only
looking to have a user log in when they seek to do something, like post a
comment, on the page.

-----Original Message-----
From: Mark Thomas [mailto:ma...@apache.org] 
Sent: 22 Sep 2010 15 43
To: Tomcat Users List
Subject: Re: Issue with logging in to Tomcat 6.0

On 22/09/2010 06:27, Martin O'Shea wrote:
> But when I try to login to Tomcat, I am given message 'Invalid direct
> reference to form login page' but do not quite see why.

Because you haven't told Tomcat that those pages need to be protected by
authentication. Do that, and Tomcat will handle the whole process for you.

Mark



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to