You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Olivier Lamy <la...@accor-hotels.com> on 2003/06/27 17:33:04 UTC

struts tlds dependency

Hello,
Is there anyway to set a dependency for the struts tlds in
http://www.ibiblio.org/maven/struts/tlds/ repository.
I try this :
<dependency>
<groupId>struts</groupId>
<artifactId>tlds</artifactId>
<version>1.1-rc2</version>
<type>tld</type>
</dependency>

But is there a possibility to get all the tlds file in the 1.1-rc2 version
without specify it one by one ?
Olivier


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: struts tlds dependency

Posted by Joe Germuska <Jo...@Germuska.com>.
Also note that Struts is a day or two away from a full 1.1 release, 
and on the struts-dev list they are working out the details of any 
iBiblio requests that need to be made.

There's no tlds.jar in the 1.1rc2 release, but there's a new 
"struts-legacy.jar" which will be requested for an iBiblio deployment 
RSN...

Joe


At 16:46 +0100 6/27/03, Brian Ewins wrote:
>You do know that all the tlds are in the jar (under 
>META-INF/tlds/*.tld), and should have autoregistered under your 
>webapp?
>
>You're supposed to be able to refer to tlds in jsps like so:
><%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>
>
>...without even registering them in your web.xml, if your JSP engine 
>is compliant with JSP 1.2. (the URI has to match the one in the tld 
>file in the jar). There's a decent explanation in this article:
><http://www.onjava.com/pub/a/onjava/2001/10/10/jsp.html?page=2>
>it doesnt say it there, but the spec does say it the engine should 
>search for tlds in META-INF /and its subdirectories/, in case you 
>think the struts setup is wrong.
>
>-Baz
>
>Olivier Lamy wrote:
>
>>Hello,
>>Is there anyway to set a dependency for the struts tlds in
>>http://www.ibiblio.org/maven/struts/tlds/ repository.
>>I try this :
>><dependency>
>><groupId>struts</groupId>
>><artifactId>tlds</artifactId>
>><version>1.1-rc2</version>
>><type>tld</type>
>></dependency>
>>
>>But is there a possibility to get all the tlds file in the 1.1-rc2 version
>>without specify it one by one ?
>>Olivier
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>>For additional commands, e-mail: users-help@maven.apache.org
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>For additional commands, e-mail: users-help@maven.apache.org


-- 
--
Joe Germuska            
Joe@Germuska.com  
http://blog.germuska.com    
"If nature worked that way, the universe would crash all the time." 
	--Jaron Lanier

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: struts tlds dependency

Posted by di...@multitask.com.au.
Baz,

there are lots of people still on JSP 1.1....
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Work:      http://www.multitask.com.au


Brian Ewins <Br...@btinternet.com> wrote on 28/06/2003 01:46:17 AM:

> You do know that all the tlds are in the jar (under 
> META-INF/tlds/*.tld), and should have autoregistered under your webapp?
> 
> You're supposed to be able to refer to tlds in jsps like so:
> <%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" 
prefix="bean" %>
> 
> ...without even registering them in your web.xml, if your JSP engine is 
> compliant with JSP 1.2. (the URI has to match the one in the tld file in 

> the jar). There's a decent explanation in this article:
> <http://www.onjava.com/pub/a/onjava/2001/10/10/jsp.html?page=2>
> it doesnt say it there, but the spec does say it the engine should 
> search for tlds in META-INF /and its subdirectories/, in case you think 
> the struts setup is wrong.
> 
> -Baz
> 
> Olivier Lamy wrote:
> 
> > Hello,
> > Is there anyway to set a dependency for the struts tlds in
> > http://www.ibiblio.org/maven/struts/tlds/ repository.
> > I try this :
> > <dependency>
> > <groupId>struts</groupId>
> > <artifactId>tlds</artifactId>
> > <version>1.1-rc2</version>
> > <type>tld</type>
> > </dependency>
> > 
> > But is there a possibility to get all the tlds file in the 1.1-rc2 
version
> > without specify it one by one ?
> > Olivier
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> > 
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 

Re: struts tlds dependency

Posted by Brian Ewins <Br...@btinternet.com>.
You do know that all the tlds are in the jar (under 
META-INF/tlds/*.tld), and should have autoregistered under your webapp?

You're supposed to be able to refer to tlds in jsps like so:
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean" %>

...without even registering them in your web.xml, if your JSP engine is 
compliant with JSP 1.2. (the URI has to match the one in the tld file in 
the jar). There's a decent explanation in this article:
<http://www.onjava.com/pub/a/onjava/2001/10/10/jsp.html?page=2>
it doesnt say it there, but the spec does say it the engine should 
search for tlds in META-INF /and its subdirectories/, in case you think 
the struts setup is wrong.

-Baz

Olivier Lamy wrote:

> Hello,
> Is there anyway to set a dependency for the struts tlds in
> http://www.ibiblio.org/maven/struts/tlds/ repository.
> I try this :
> <dependency>
> <groupId>struts</groupId>
> <artifactId>tlds</artifactId>
> <version>1.1-rc2</version>
> <type>tld</type>
> </dependency>
> 
> But is there a possibility to get all the tlds file in the 1.1-rc2 version
> without specify it one by one ?
> Olivier
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: struts tlds dependency

Posted by di...@multitask.com.au.
In short, no.
--
dIon Gillard, Multitask Consulting
Blog:      http://blogs.codehaus.org/people/dion/
Work:      http://www.multitask.com.au


"Olivier Lamy" <la...@accor-hotels.com> wrote on 28/06/2003 
01:33:04 AM:

> Hello,
> Is there anyway to set a dependency for the struts tlds in
> http://www.ibiblio.org/maven/struts/tlds/ repository.
> I try this :
> <dependency>
> <groupId>struts</groupId>
> <artifactId>tlds</artifactId>
> <version>1.1-rc2</version>
> <type>tld</type>
> </dependency>
> 
> But is there a possibility to get all the tlds file in the 1.1-rc2 
version
> without specify it one by one ?
> Olivier
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>