Sounds like Gurpreet.S.Dhanoa is decribing the same shotgun apporach
that I was saying I used (making local copies of referenced files),
which I've always been sure was suboptimal but it got me out of trouble.
(ie: it "works")
I'll try to take in the comments given of how to fix it optimally for
next time.
 Thanks
   A Shy Moose


Joe Germuska wrote:

> At 9:37 AM -0600 3/17/06, <[EMAIL PROTECTED]> wrote:
>
>> Best practice is to download the same tab lib files
>> (Tld) and copy them in any of the folder under
>> Your web application> once done change the path in your JSPs to load the
>> tld file from your local path instead of jakarta.apache.org
>
>
> This is not true.  Struts never retrieves TLD files from the
> internet.  The fact that the URIs look like URLs is not important. TLD
> files are retrieved from the JAR in which they are packaged.
>
> On the other hand, Struts does (and commons-validator does) retrieve
> DTDs from the SYSTEM URL provided in a DOCTYPE declaration when doing
> validating parses of the various config XML files, IF there is no
> PUBLIC identifier, or if it doesn't recognize the public identifier.
>
> You can see exactly which PUBLIC identifiers Struts knows here:
> http://struts.apache.org/struts-action/xref/org/apache/struts/action/ActionServlet.html#259
>
>
> For any DOCTYPE using one of these identifiers, Struts will retrieve
> the corresponding DTD from the classpath instead.
>
> Hope this clarifies things.  If it turns out that struts-blank has bad
> public ids in its DOCTYPE, please file a bug to that effect.
>
> Joe



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

Reply via email to