Re: S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Norris Shelton


That works.  Thanks.




From: Dave Newton 
To: Struts Users Mailing List 
Sent: Friday, January 16, 2009 3:09:31 PM
Subject: Re: S2.1 - struts tags vs jstl expression language

Norris Shelton wrote:
> I assumed that I had to use the struts tags.  I noticed that my 
> older ${} worked for my objects.  Is there a compelling reason
> to use the longer struts tags instead of JSTL EL?

Typing practice for the angle brackets?

The S2 request wrapper will map the EL requests to the OGNL stack. If the value 
isn't found on the value stack it'll fall back to the normal JEE lookup 
mechanism.

The only reason I can think of (barring performance, which I can't imagine 
would be significant) would be if there was a name conflict where an S2 action 
property might mask something in a JEE scope and you want the JEE-scoped value.s

Dave


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org


  

Re: S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Dave Newton

Norris Shelton wrote:
I assumed that I had to use the struts tags.  I noticed that my 

> older ${} worked for my objects.  Is there a compelling reason
> to use the longer struts tags instead of JSTL EL?

Typing practice for the angle brackets?

The S2 request wrapper will map the EL requests to the OGNL stack. If 
the value isn't found on the value stack it'll fall back to the normal 
JEE lookup mechanism.


The only reason I can think of (barring performance, which I can't 
imagine would be significant) would be if there was a name conflict 
where an S2 action property might mask something in a JEE scope and you 
want the JEE-scoped value.s


Dave


-
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org



S2.1 - struts tags vs jstl expression language

2009-01-16 Thread Norris Shelton
I assumed that I had to use the struts tags.  I noticed that my older ${} 
worked for my objects.  Is there a compelling reason to use the longer struts 
tags instead of JSTL EL?

 
Norris Shelton
Software Engineer
Sun Certified Java 1.1 Programmer
Shelton Consulting, LLC
ICQ# 26487421
AIM NorrisEShelton
YIM norrisshelton