tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat 5.5 JDK version compatibility
Date Thu, 08 Mar 2012 18:58:29 GMT
> From: David Wahler [mailto:dwahler@indeed.com] 
> Subject: Tomcat 5.5 JDK version compatibility

> Does this mean that if a web application is deployed in Tomcat 5.5,
> it may not use any language features that were introduced in J2SE 
> 5.0 or later (e.g. annotations and generics), even if those features
> are supported by the JRE?

It's not the JRE that's the issue, it's the servlet spec version that your webapp is claiming
compliance with.  Annotations don't appear there until 2.5 (if I remember correctly).  Generics
will likely work, because there's nothing in the servlet spec related to those.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.

 


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


Mime
View raw message