tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Werno, Peter" <Peter.We...@dkib.com>
Subject Compiling jsp:getProperty in 5.5.17 vs. 5.5.9
Date Fri, 03 Nov 2006 09:42:59 GMT
Hello,
 
we just upgraded to NetBeans 5.5 which now comes with tomcat 5.5.17
built in. Unfortunately, we are using a couple of <jsp:getProperty ../>
tags which were compiled in 5.5.9 as follows:
 
...handleGetProperty(_jspx_page_context.findAttribute("admin.template.fo
rm"), "templateID")));
 
and in 5.5.17 is now compiled like:
 
...handleGetProperty(_jspx_page_context.getAttribute("admin.template.for
m", PageContext.PAGE_SCOPE), "templateID")));
 
As you can see, it previously was seaching in request, session, etc.,
but now only ever looks at the "page" context. Unfortunately, the bean
is stored in the session, so I get exceptions with 5.5.17 :(
 
Is there a way to configure 5.5.17 to compile it in the "old" way?
 
Many thanks,
 
Peter Werno
 


--------------------------------------------------------------------------------
The information contained herein is confidential and is intended solely for the
addressee. Access by any other party is unauthorised without the express 
written permission of the sender. If you are not the intended recipient, please 
contact the sender either via the company switchboard on +44 (0)20 7623 8000, or
via e-mail return. If you have received this e-mail in error or wish to read our
e-mail disclaimer statement and monitoring policy, please refer to 
http://www.dresdnerkleinwort.com/disc/email/ or contact the sender. 
--------------------------------------------------------------------------------


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