you can also change your web.xml file to use

file:/myproject/mydtd.dtd

(not mydtd.*)

I just did this with weblogic server as I had the same problem and its
working fine, email me privately if you're still having issues.


Grant Davies
b l u e t u b e p r o d u c t i o n s
http://www.bluetube.com

> -----Original Message-----
> From: Kiet Nguyen [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 1:04 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: Still having problems with finding DTDs if server behind
> f/w
>
>
> locate the dtd and put it in your classpath (or weblogic classpath if you
> are using wls).
>
> -----Original Message-----
> From: Wayland Chan [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, July 19, 2001 9:21 AM
> To: [EMAIL PROTECTED]
> Subject: Still having problems with finding DTDs if server behind f/w
>
>
> I'm having problem loading the struts-config DTD at
> web-app startup. My server is behind a firewall/proxy
> and cannot get to the Jakarta or Sun sites directly.
>
> Environment:
> WebSphere 3.5.3 on NT4
> Struts 1.0
>
> I've searched the struts archives and tried several
> things such as:
>
> 1. In web.xml, change PUBLIC to SYSTEM in DOCTYPE
> defn. and delete "-//Sun..." line
>    In struts-config.xml, change PUBLIC to SYSTEM in
> DOCTYPE and delete "-//Apache..." line
>
> 2. Extracted the org/apache/struts/resources/*.dtd to
> $webapp/servlets (including directory)
>
> 3. Added docroot, $webapp/web to my webapp's
> classpath. Also tried creating WEB-INF directory under
> $webapp\servlets and put
> org/apache/struts/resources/*.dtd in there.
>
> 4. Deleted the DOCTYPE defn in web.xml and
> struts-config.xml entirely
>
> 5. Modified DOCTYPE to look locally ie.
>
> "file://w/WebSphere/AppServer/hosts/default_host/ptm/servlets/org/
apache/str
uts/resources/*.dtd"

6. Tried to host dtd's locally by putting them in
$webapp\web\dtds and changing DOCTYPE to look there.


Still no luck. I know several people on this list have
encountered this problem but there have been so many
solutions posted. Any consensus on what will work? Was
there a bug that was fixed in a nightly build at one
point to address this?

Regards,

Wayland Chan


__________________________________________________
Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail
http://personal.mail.yahoo.com/

Reply via email to