tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <ma...@apache.org>
Subject Re: jsp compile error(The primitive type int of does not have a field javax)
Date Wed, 06 Apr 2011 09:52:19 GMT
On 06/04/2011 10:47, André Warnier wrote:
> Hello 文宝殷,
> 
> As I failed to mention before, I am not really a java or JSP expert, so I was just guessing.
> The error messages which you are getting seem to suggest that the generated Java code
> (before compilation) contains some line breaks or other confusing characters where the
> compiler is not expecting them, and it is taking one of the "import" statements (like
> "import javax.servlet.http.HttpServletRequest;") as an attribute of a variable named
"".
> It is all quite bizarre, and made me think that the problem may be linked to a character
> set issue or a wrong line-ending.
> 
> Maybe there is an option to the JSP interpreter where you can actually ask to see the
> generated java code before compilation ?

Tomcat makes the java file available by default in the work directory.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message