Hi, I have used netbeans which built-in Tomcat 5.5 to develop jsp pages, and I am using JDK 1.5.
In the JSP page, there are lots of generics here and there, and it runs perfectly using netbean built-in Tomcat 5.5.17.
After development, I am going deploy the project on a server. Hence I am installing the Tomcat 5.5.9(standalone, not with netbeans built in), and deploy the web application. However because of usage of generics, I keep getting this kind of problem
An error occurred at line: 9 in the jsp file: /welcome.jsp
Generated servlet error:
Syntax error on token "<", invalid AssignmentOperator
An error occurred at line: 9 in the jsp file: /welcome.jsp
Generated servlet error:
Syntax error on token "=", != expected
An error occurred at line: 9 in the jsp file: /welcome.jsp
Generated servlet error:
Syntax error on token ">", Expression expected after this token
.
My Java Virtual machine has already been set to C:\Program Files\Java\jre1.5.0_10\bin\client\jvm.dll.
How to correct this problem?
In the JSP page, there are lots of generics here and there, and it runs perfectly using netbean built-in Tomcat 5.5.17.
After development, I am going deploy the project on a server. Hence I am installing the Tomcat 5.5.9(standalone, not with netbeans built in), and deploy the web application. However because of usage of generics, I keep getting this kind of problem
An error occurred at line: 9 in the jsp file: /welcome.jsp
Generated servlet error:
Syntax error on token "<", invalid AssignmentOperator
An error occurred at line: 9 in the jsp file: /welcome.jsp
Generated servlet error:
Syntax error on token "=", != expected
An error occurred at line: 9 in the jsp file: /welcome.jsp
Generated servlet error:
Syntax error on token ">", Expression expected after this token
.
My Java Virtual machine has already been set to C:\Program Files\Java\jre1.5.0_10\bin\client\jvm.dll.
How to correct this problem?