2011/10/4 Nestor Urquiza <nestor.urqu...@gmail.com>: > > Downloading latest jasper-el > http://repo1.maven.org/maven2/org/apache/tomcat/jasper-el/6.0.33/jasper-el-6.0.33.jar > (from August 2011 which I consider latest - please correct me if I am > wrong) or even copying the jar from a previous tomcat installation > allows ${owner.new} to work. The version of jasper-el shipped with > tomcat 7.0.22 does not. Is that a bug in jasper-el-6.0.33.jar?
You should download ASF software from download pages on *.apache.org sites. :) That jar is just some random piece of Tomcat 6.0.33. You cannot download it and drop into any other Tomcat version. It is useful if you need to compile your own code that uses those internal APIs of Tomcat, but you should not use it at runtime at a proper Tomcat instance. If you look into META-INF/MANIFEST.MF file inside the jar you should see that Specification-Title: Apache Tomcat Specification-Version: 6.0 etc. > Furthermore, the alternative ${owner.isNew()} which does work in > Tomcat 7.0.22 default jasper-el fails when I use jasper-el-6.0.33.jar. ${owner['new']} is accessing property "new" of object "owner". That is exactly the same that you tried with ${owner.new}. The ${owner.isNew()} expression is a different beast - it is a method call, and method calls support is introduced in JSP 2.2/Expression Language 2.2. You will have to use Tomcat 7.0. > I forgot to thanks Mark for the flag. > > Thank you for taking your time and reading. > Best regards, Konstantin Kolinko --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org