You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by "Craig R. McClanahan" <cm...@mytownnet.com> on 2000/03/16 23:43:33 UTC
Re: Anyone seen this one? It doesn't seem to make sense. Class
compiles regular like and can access the object but not call a method on
it.
Chris Halverson wrote:
> org.apache.jasper.JasperException: Unable to compile class for
> JSPwork\localhost_8080%2Fvod\_0005cassetlog_0002ejspassetlog_jsp_9.java:166:
> Invalid type expression.
> assets.testMethod()
> ^
> work\localhost_8080%2Fvod\_0005cassetlog_0002ejspassetlog_jsp_9.java:169:
> Invalid declaration.
> out.write("\r\n");
> ^
> 2 errors
>
It's hard to tell for sure without seeing more of your JSP page source, but it
looks to me like you left a semicolon off after the "assets.testMethod()" call
in a scriptlet, and therefore caused the generated servlet source to have a
syntax error in it.
Also, please subscribe to and start using the TOMCAT-USER mailing list for
user-related questions like this. The TOMCAT-DEV list will be devoted to
discussions about developing Tomcat itself.
Craig McClanahan