Wendy,

I'm curious about your comment about Servlet 2.2 and placement of tld
files.

Sorry if I'm asking a basic question but I didn't know that you can just
use the tld files in the jar. You said "unless you're on Servlet 2.2..."
Does that mean that after Servlet 2.2 you can just use the tld files in the
jar file?

If so, do I need to do anything special to tell Struts to look there or is
it enough to just take out the tld mappings from the web.xml file?

Thanks!

David



                                                                           
             "Wendy Smoak"                                                 
             <[EMAIL PROTECTED]                                             
             com>                                                       To 
                                       "Struts Users Mailing List"         
             10/19/2005 10:35          <user@struts.apache.org>            
             PM                                                         cc 
                                                                           
                                                                   Subject 
             Please respond to         Re: Strange Struts tld problem      
               "Struts Users                                               
               Mailing List"                                               
             <[EMAIL PROTECTED]                                             
                  he.org>                                                  
                                                                           
                                                                           




From: "Koon Yue Lam" <[EMAIL PROTECTED]>

> Assume I have 2 jsp(s), header.jsp and content.jsp
>
> In content.jsp, I include header.jsp like the following:
> <%@ include file="../common/Header.jsp" %>

The include isn't working.  Possibly because your file is named
'header.jsp'
and you're including 'Header.jsp', (watch the case!) or possibly because it

isn't where you think it is relative to content.jsp.

In addition, unless you're on Servlet 2.2, you don't need to put the tlds
under WEB-INF and map them in web.xml.  Just use the URIs such as
<%@ taglib uri="http://struts.apache.org/tags-html"; prefix="html" %>
and the tld file that's in struts.jar will be used.

--
Wendy Smoak





-----------------------------------------
The information contained in this message is intended only for the
personal and confidential use of the recipient(s) named above. If the
reader of this message is not the intended recipient or an agent
responsible for delivering it to the intended recipient, you are hereby
notified that you have received this document in error and that any
review, dissemination, distribution, or copying of this message is
strictly prohibited. If you have received this communication in error,
please notify us immediately, and delete the original message.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to