tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Barker" <wbar...@wilshire.com>
Subject Re: Compiling jsp:getProperty in 5.5.17 vs. 5.5.9
Date Sun, 05 Nov 2006 23:06:41 GMT
Of course, you are free to change the code back to 5.5.9, but no, there is 
no configuration option to change it back.  Unfortunately, you were relying 
on a bug in TC 5.5.9, that would have meant that you wouldn't be able to run 
your app in a different JSP container.

The correct way to get this to work is to have a corresponding <jsp:useBean 
id="admin.template.form" scope="session" .../> in your JSP page, even if the 
bean is always set by a filter.

"Werno, Peter" <Peter.Werno@dkib.com> wrote in message 
news:66E5B2C845B6314B89DFF47455239DB6045C8C2A@IBFFTPSPE2V231.de.ad.drkw.net...
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.
--------------------------------------------------------------------------------





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


Mime
View raw message