tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "cyril vidal" <cy...@planetexml.com>
Subject Example form-based authentication
Date Sat, 08 Nov 2003 19:17:10 GMT
Hi,

I'm under Tomcat/4.1.18-LE-jdk14 and just have tested form based example.

Unfortunately, when I access http://localhost:8080/examples/jsp/security/protected/index.jsp
 i'm well redirected to login.jsp as mentionned in web.xml

 <form-login-config>
        <form-login-page>/jsp/security/protected/login.jsp</form-login-page>
        <form-error-page>/jsp/security/protected/error.jsp</form-error-page>
      </form-login-config>


but I've got the following error message:

Generated servlet error:
    [javac] Compiling 1 source file

C:\java\plateforme\tomcat\work\Standalone\localhost\examples\jsp\security\protected\login_jsp.java:1:
 expected
package org.apache.jsp.jsp.security.protected;
                                    ^
1 error

I've changed nothing to examples directory, so is it an known error?
How may i fix this?

Thanks in advance for your response,
Regards,
Cyril.
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message