struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mario Neè <mario....@xmoon.org>
Subject Re: jsp vs jstl in Math
Date Fri, 24 Jun 2005 06:50:42 GMT
Karr, David wrote:

>Yes, I should have mentioned that.  If you're using a JSP 2.0 container,
>you should NOT use Struts-EL.  It will cause more trouble.  If you
>configure your webapp correctly, you can use the EL natively in
>attributes, and even in template text.
>
>  
>
>>-----Original Message-----
>>From: Mark Diggory [mailto:mdiggory@gmail.com] 
>>Sent: Thursday, June 23, 2005 10:26 AM
>>To: Struts Users Mailing List
>>Subject: Re: jsp vs jstl in Math
>>
>>
>>If your using a JSP 2.0 container (Tomcat 5.x), I think you should be 
>>able to use EL right on top of Struts taglib without any third party 
>>contibs. Others, correct me if I'm wrong here.
>>
>>-Mark
>>
>>Karr, David wrote:
>>
>>    
>>
>>>Use the Struts-EL taglib, provided in the 
>>>      
>>>
>>"contrib/struts-el" subdir of 
>>    
>>
>>>the Struts distribution.  It's a port of most of the Struts tags 
>>>(except the ones that provide functionality that the JSTL provides 
>>>directly), but it uses the JSTL expression evaluator for 
>>>      
>>>
>>attributes.  
>>    
>>
>>>Search the archives for "struts-el" for (tons) of references to this.
>>>
>>> 
>>>
>>>      
>>>
>>>>-----Original Message-----
>>>>From: mario nee [mailto:mario.nee@xmoon.org]
>>>>Sent: Thursday, June 23, 2005 1:14 AM
>>>>To: Struts Users Mailing List
>>>>Subject: jsp vs jstl in Math
>>>>
>>>>Hello,
>>>>
>>>>if i use jstl for Math operation i write this
>>>><c:out value="${a + b}"/>
>>>>
>>>>if i use struts taglib how can i do the same thing  without
>>>>use <% ... %> ?
>>>>   
>>>>
>>>>        
>>>>
>>>---------------------------------------------------------------------
>>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>>For additional commands, e-mail: user-help@struts.apache.org
>>>
>>>
>>> 
>>>
>>>      
>>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>    
>>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>
>  
>

| If you're using a JSP 2.0 container, you should NOT use Struts-EL.

So i have to use jstl.jar, standard.jar and not struts-el.jar ?

-- 
Mario Nee'
Brescia Italy
mario.nee@xmoon.org
http://www.xmoon.org


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


Mime
View raw message