Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Tomcat 5.5 vs Generics

Status
Not open for further replies.

jack1080

Programmer
Jun 2, 2007
34
MY
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?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top