Re: Providing portlet.tld in the portlet war or not

Stefan Zoerner <[email protected]>
Newsgroups gmane.comp.jakarta.pluto.user
Message-ID <[email protected]>
Stefan Zoerner wrote:

> Hi all!
> <%@ taglib uri="http://java.sun.com/portlet" prefix="portlet"%>
> 
> My question: Am I supposed to include the tag library descriptor within 
> my war-file and declare it in the web.xml file? I think I can't, because 
> the file is vendor specific, the spec defines only the tags itself, not 
> the implementing Java classes.
> 

Some smart guy helped me to solve this one, and I'll just drop a little 
note for those who are also interested to the answer of this miracle.

The spec does not force you to include the TLD-File in your webapp (but 
the URI is standardized). If a portlet container does not run your 
portlet app, because a vendor specific TLD-file is missing, it is (to be 
very accurate) not compliant. Although there are some implementations 
like that (open source as well as commercial).

No problem for Pluto (which is compliant and obviously should be as it 
is the reference impl), sorry for any time taken for this one,

     Stefan
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.