tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Nybro Bolding" <>
Subject Vedr.: Tomcat 5.5 and java 1.5 features.
Date Wed, 11 Jan 2006 09:38:13 GMT
Jasper in turn uses JDT to compile JSPs into servlets and JDT is currently 
only JDK 1.4 compliant. To use 1.5 features in your JSP you will thus have 
to replace jasper.

This questions has been brought up a couple of times so search the 
archives or look at

Regards Thomas

Dola Woolfe <>
11-01-2006 01:07
Besvar venligst til "Tomcat Users List"

        Til:    Tom Cat <>
        Vedr.:  Tomcat 5.5 and java 1.5 features.


I'd like to use java 1.5 features in my jsp code, in
particular generics. But the jasper compiler really
doesn't like it. Any setting to fix this:

org.apache.jasper.JasperException: Unable to compile
class for JSP

An error occurred at line: 2 in the jsp file:
Generated servlet error:
The method name() is undefined for the type Object

An error occurred at line: 2 in the jsp file:
Generated servlet error:
Type mismatch: cannot convert from Object to Message

An error occurred at line: 2 in the jsp file:
Generated servlet error:
Type mismatch: cannot convert from Object to Vector












Many thanks in advance!


Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 

To unsubscribe, e-mail:
For additional commands, e-mail:

<FONT SIZE=1 FACE="Arial">_______________
Vi goer opmaerksom paa, at denne e-mail kan indeholde fortrolig information. Hvis du ved en
fejltagelse modtager e-mailen, beder vi dig venligst informere afsender om fejlen ved at bruge
svar-funktionen. Samtidig beder vi dig slette e-mailen i dit system uden at videresende eller
kopiere den.
Selv om e-mailen og ethvert vedhaeftet bilag efter vores overbevisning er fri for virus og
andre fejl, som kan paavirke computeren eller it-systemet, hvori den modtages og laeses, aabnes
den paa modtagerens eget ansvar. Vi paatager os ikke noget ansvar for tab og skade, som er
opstaaet i forbindelse med at modtage og bruge e-mailen.
Please note that this message may contain confidential information. If you have received this
message by mistake, please inform the sender of the mistake by sending a reply, then delete
the message from your system without making, distributing or retaining any copies of it.
Although we believe that the message and any attachments are free from viruses and other errors
that might affect the computer or IT system where it is received and read, the recipient opens
the message at his or her own risk. We assume no responsibility for any loss or damage arising
from the receipt or use of this message.

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message