tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Reynshteyn, Leonid" <>
Subject RE: New user question...
Date Tue, 14 Nov 2000 15:13:08 GMT
The directive is a custom tag that Tomcat does not recognize, I think.

tag_test.jsp is a JSP file I mentioned below. It's not in C:, but in

I assume that I am not configuring it right and it can't recognize the
custom tags and gives me this error.

Here are the contents of the JSP file:
<%@ raglib uri="/test.tld" prefix="leo" %>
<title>Example JSP with TAG Libs</title>

<p><b> Let's see if this works. </b>


<p><b> End </b>

Thanks a lot in adavance.


-----Original Message-----
From: Pierre Delisle []
Sent: Monday, November 13, 2000 7:25 PM
Subject: Re: New user question...

The error is in the first line of your JSP file 'tag_test.jsp'.

       org.apache.jasper.compiler.ParseException: C:\tag_test.jsp(0,4)
Invalid directive at...

The error message says it is a directive, but without the details, it is
hard to tell exactly what is wrong.

If you tell us what's there, we can help you one step further.

	-- Pierre

"Reynshteyn, Leonid" wrote:
> I just installed Tomcat for the first time and am trying to run a simple
> 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( at
> org.apache.jasper.compiler.Parser.parse(
> Here's what I did:
> ------------------------
> 1) I put the JSP file in "install_dir/webapps/Root" (simple JSPs that
> 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

View raw message