Hi,
I'm under Tomcat/4.1.18-LE-jdk14 and just have tested form based example provided with the distribution.
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 unfortunately, 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 example's directory, so is it an known error?
How may i fix this?
Thanks in advance for your response,
Regards,
Cyril.
SCJP 1.4, SCWCD, SCBCD, IBM XML, IBM Websphere 285, IBM Websphere 287