I just installed Tomcat for the first time and am trying to run a simple JSP
that uses a very simple custom tag. When I run the JSP, I am getting the
following Jasper compiler exception:

org.apache.jasper.compiler.ParseException: C:\tag_test.jsp(0,4) Invalid
directive at
org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:186) at
org.apache.jasper.compiler.Parser.parse(Parser.java:1073) 

Here's what I did:
------------------------
1) I put the JSP file in "install_dir/webapps/Root" (simple JSPs that don't
use custom tags work fine from here)
2) I put the JSP Tag handler class in
"install_dir/webapps/Root/Web-inf/classes"
3) I put the TLD file in "install_dir/webapps/Root"

Any ideas?

Thanks.

-Lenny

Reply via email to