You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Claudia Woestheinrich <cl...@vit.de> on 2004/09/10 08:15:19 UTC

struts-el

Hallo,

I want to uses Struts-el but I can't find the source.
Where can I get it?

Thanks Claudia


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


Re: struts-el

Posted by Craig McClanahan <cr...@gmail.com>.
On Fri, 10 Sep 2004 08:15:19 +0200, Claudia Woestheinrich
<cl...@vit.de> wrote:
> Hallo,
> 
> I want to uses Struts-el but I can't find the source.
> Where can I get it?
> 

It's in the standard Struts source distribution (or CVS), under
"contrib/struts-el".

> Thanks Claudia

Craig

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


Re: struts-el

Posted by Jason Lea <ja...@kumachan.net.nz>.
Woodchuck wrote:

>--- Craig McClanahan <cr...@gmail.com> wrote:
>
>  
>
>>On Fri, 10 Sep 2004 18:23:46 +1200, Jason Lea <ja...@kumachan.net.nz>
>>wrote:
>>
>>    
>>
>>>Though, if you are using tomcat 5 (which has JSP2/JSTL1.1) then you
>>>don't need struts el, just use the normal struts tags as Tomcat
>>>      
>>>
>>takes
>>    
>>
>>>care of the EL expressions.
>>>      
>>>
>>To be a little bit more verbose, this behavior is only enabled (in
>>Tomcat 5 or any other container that implements JSP 2.0) if your
>>web.xml file declares itself to be compatible with Servlet 2.4, by
>>including the following text at the top:
>>
>>    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>>     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>>     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>>      http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
>>     version="2.4">
>>    
>>
>
>is it good practice in general to not use live references to the
>various definition files in web.xml?
>
>do servlet containers cache these definition files?  (ie. only fetch
>them once at startup?)
>
>is it possible to store all of these definition files locally and
>reference them all locally in web.xml?
>  
>
 From what I understand those are not live references, they just look 
like URLs but they are not fetched.  I think they are treated as an 
identifier/version.  You will find the web-app_2_4.xsd file in Tomcat 
5's servlet-api.jar for example

>thanks,
>woodchuck
>
>  
>
>>Craig
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>>For additional commands, e-mail: user-help@struts.apache.org
>>
>>
>>    
>>
>
>
>
>		
>__________________________________
>Do you Yahoo!?
>New and Improved Yahoo! Mail - Send 10MB messages!
>http://promotions.yahoo.com/new_mail 
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
>For additional commands, e-mail: user-help@struts.apache.org
>
>
>  
>


-- 
Jason Lea



Re: struts-el

Posted by Woodchuck <wo...@yahoo.com>.
--- Craig McClanahan <cr...@gmail.com> wrote:

> On Fri, 10 Sep 2004 18:23:46 +1200, Jason Lea <ja...@kumachan.net.nz>
> wrote:
> 
> > Though, if you are using tomcat 5 (which has JSP2/JSTL1.1) then you
> > don't need struts el, just use the normal struts tags as Tomcat
> takes
> > care of the EL expressions.
> 
> To be a little bit more verbose, this behavior is only enabled (in
> Tomcat 5 or any other container that implements JSP 2.0) if your
> web.xml file declares itself to be compatible with Servlet 2.4, by
> including the following text at the top:
> 
>     <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
>      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>      xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
>       http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
>      version="2.4">

is it good practice in general to not use live references to the
various definition files in web.xml?

do servlet containers cache these definition files?  (ie. only fetch
them once at startup?)

is it possible to store all of these definition files locally and
reference them all locally in web.xml?

thanks,
woodchuck

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



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 

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


Re: struts-el

Posted by Craig McClanahan <cr...@gmail.com>.
On Fri, 10 Sep 2004 18:23:46 +1200, Jason Lea <ja...@kumachan.net.nz> wrote:

> Though, if you are using tomcat 5 (which has JSP2/JSTL1.1) then you
> don't need struts el, just use the normal struts tags as Tomcat takes
> care of the EL expressions.

To be a little bit more verbose, this behavior is only enabled (in
Tomcat 5 or any other container that implements JSP 2.0) if your
web.xml file declares itself to be compatible with Servlet 2.4, by
including the following text at the top:

    <web-app xmlns="http://java.sun.com/xml/ns/j2ee"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
      http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
     version="2.4">

Craig

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


Re: struts-el

Posted by Jason Lea <ja...@kumachan.net.nz>.
Claudia Woestheinrich wrote:

>Hallo,
>
>I want to uses Struts-el but I can't find the source.
>Where can I get it?
>  
>
If you download struts and unzip the file it will have 3 directories:  
contrib, lib and webapp
look in contrib/struts-el

Though, if you are using tomcat 5 (which has JSP2/JSTL1.1) then you 
don't need struts el, just use the normal struts tags as Tomcat takes 
care of the EL expressions.

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


-- 
Jason Lea



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