Re: jsp compile error(The primitive type int of does not have a field javax)

2011-04-06 Thread Mark Thomas
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

Re: jsp compile error(The primitive type int of does not have a field javax)

2011-04-06 Thread André Warnier
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 ex

Re: jsp compile error(The primitive type int of does not have a field javax)

2011-04-06 Thread 文宝殷
Hi André Warnier, thanks for your reply. it's a runtime error, jsp compiler generate the java file then compile it to class. i didn't the copy the java file between different systems.my system is linux. could the jsp compiler cause this error? the default one is the JDT. Best Regards Bryan 201

Re: jsp compile error(The primitive type int of does not have a field javax)

2011-04-06 Thread André Warnier
Hi, Honestly, I don't really know, and this is just a vague suspicion. But if the original JSP pages are on a Windows PC, and then you are copying them to a Unix/Linux server to run them, can the problem not be due to wrong line endings ? (Windows uses CR/LF, but Unix/Linux only LF). 文宝殷 wro

jsp compile error(The primitive type int of does not have a field javax)

2011-04-06 Thread 文宝殷
Hi, Is there anyone met this kind of error. please see the error stack below. very tricky,it doesn't always happen, we met it seldom after our server run for a period. and the red section is not confused, i don't know what's the meaning exactly. i've looked into the generated java file, the line