On Sat, Jun 02, 2007 at 12:41:28AM +1000, Zoran Avtarovski wrote:
> I was wondering what people's experience has been with using JSTL as 
> opposed
> to OGNL with regards to performance. I saw the Wiki entry for the
> ActionPropertyExportInterceptor but I'm concerned it may have to big a
> performance hit, essentially copying the value stack elements to the 
> request
> scope.

That ActionPropertyExportInterceptor documentation should be deprecated.
The new StrutsRequestWrapper* is already providing an adapter between
the JSP and the ValueStack without you having to do anything.  Just use
EL, and you'll see it works.

${myName} causes the JSP to call the getMyName() of your action in the
value stack.  There's no need to add the old
ActionPropertyExportInterceptor to call every field and copy it to your
request object.

* 
http://struts.apache.org/2.x/struts2-core/apidocs/org/apache/struts2/dispatcher/StrutsRequestWrapper.html
-- 
John M Flinchbaugh
[EMAIL PROTECTED]

Attachment: signature.asc
Description: Digital signature

Reply via email to