Associating TLDs with a WebApp

Is there a way to associate TLDs (in this specific case, Sitemesh) with a Webapp project so that the TLDs get copied into the deployment/exploded directory location?


IDEA copies all the referenced Global Libs - where (can?) I specify TLDs?

Nick

4 comments
Comment actions Permalink

Sweet idea. I have a struts library that has source, javadoc, etc. I
can have it deploy the .jar files as required, but I then have to go
back and deploy the .tld files manually.

One note: This is actually the "old" way. The new way has the .tld
files in the .jar itself. You just point your web.xml to the .jar and
it finds it all.

With that in mind. This problem is rapidly becoming obsolete.

Norris Shelton
Sun Certified Java Programmer




Nick Pratt wrote:

>Is there a way to associate TLDs (in this specific case, Sitemesh) with a Webapp project so that the TLDs get copied into the deployment/exploded directory location?
>
>
>IDEA copies all the referenced Global Libs - where (can?) I specify TLDs?
>
>Nick

>

0
Comment actions Permalink

"You just point your web.xml to the .jar and
it finds it all."
I thought the "new way" is to not have anything about taglibs in web.xml and
to just make the uri in the jsp the same as the uri in the tld.

"Norris Shelton" <i.hate.spam@yahoo.com> wrote in message
news:40CA0EBE.4030900@yahoo.com...

Sweet idea. I have a struts library that has source, javadoc, etc. I
can have it deploy the .jar files as required, but I then have to go
back and deploy the .tld files manually.

>

One note: This is actually the "old" way. The new way has the .tld
files in the .jar itself. You just point your web.xml to the .jar and
it finds it all.

>

With that in mind. This problem is rapidly becoming obsolete.

>

Norris Shelton
Sun Certified Java Programmer

>
>
>
>

Nick Pratt wrote:

>

>Is there a way to associate TLDs (in this specific case, Sitemesh) with a

Webapp project so that the TLDs get copied into the deployment/exploded
directory location?

>
>
>IDEA copies all the referenced Global Libs - where (can?) I specify TLDs?
>
>Nick
>
>



0
Comment actions Permalink

True. Too few calories, too much caffeine.

Norris Shelton
Sun Certified Java Programmer




Brad wrote:

>"You just point your web.xml to the .jar and
>it finds it all."
>I thought the "new way" is to not have anything about taglibs in web.xml and
>to just make the uri in the jsp the same as the uri in the tld.
>
>"Norris Shelton" <i.hate.spam@yahoo.com> wrote in message
>news:40CA0EBE.4030900@yahoo.com...

>
>>Sweet idea. I have a struts library that has source, javadoc, etc. I
>>can have it deploy the .jar files as required, but I then have to go
>>back and deploy the .tld files manually.
>>
>>One note: This is actually the "old" way. The new way has the .tld
>>files in the .jar itself. You just point your web.xml to the .jar and
>>it finds it all.
>>
>>With that in mind. This problem is rapidly becoming obsolete.
>>
>>Norris Shelton
>>Sun Certified Java Programmer
>>
>>
>>
>>
>>Nick Pratt wrote:
>>
>>
>>
>>>Is there a way to associate TLDs (in this specific case, Sitemesh) with a
>>>
>>>
>Webapp project so that the TLDs get copied into the deployment/exploded
>directory location?

>
>>>IDEA copies all the referenced Global Libs - where (can?) I specify TLDs?
>>>
>>>Nick
>>>
>>>
>>>
>>>
>
>

>

0
Comment actions Permalink

I usually put all my TLDs in a separate folder and map this folder to
WEB-INF/tld (in Web Module Settings -> Web Resource Directories).

Nick Pratt wrote:

Is there a way to associate TLDs (in this specific case, Sitemesh) with a Webapp project so that the TLDs get copied into the deployment/exploded directory location?


IDEA copies all the referenced Global Libs - where (can?) I specify TLDs?

Nick

0

Please sign in to leave a comment.