RE: Struts Taglib DTD's and Firewalls
We put ours in a dtd directory under the WEB-INF directory, our validator.xml looks like this... Hope this helps... -Original Message- From: Matt E [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 10:30 AM To: Struts Users Mailing List Subject: RE: Struts Taglib DTD's and Firewalls Kevin, I downloaded all the DTDs and editied the taglib and XML files to remove the url but keep the DTD. I now get this error: org.apache.jasper.compiler.CompileException: /int0/webdata/swtools/apps/tir/toolDevelopmentRequest.jsp(0,0) Unable to open taglibrary /WEB-INF/struts-html.tld : Parse Error in the tag library descriptor: Relative URI "web-app_2_3.dtd"; can not be resolved without a base URI. What do I need to do to tell the xml/tld files that the dtd is in the same directory as the other files? Do I have to put an absoulte URL or can I get away with a realitive path somehow? Thanks --- Kevin Peters <[EMAIL PROTECTED]> wrote: > That's what we did. We downloaded all of the DTDs > our application > references so we can point to a local copy. Make > sure you keep them > current, though. > > > Kevin > > -Original Message- > From: Matt E [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 10:06 AM > To: [EMAIL PROTECTED] > Subject: Struts Taglib DTD's and Firewalls > > > Hello All. > > I'm attempting to deploy a Struts project to a > server > here at work. Whenever I try to access any pages in > it I get this error: > > org.apache.jasper.compiler.CompileException: > /int0/webdata/swtools/apps/tir/toolDevelopmentRequest.jsp(0,0) > Unable to open taglibrary /WEB-INF/struts-html.tld : > Parse Error in the tag library descriptor: External > entity not found: > "http://java.sun.com/dtd/web-app_2_3.dtd";. > > I think this is due to a firewall that blocks all > access to external sites unless you have entered a > username and password. > > From my local machine I can access the dtd. Is > there > anyway to put a copy of it on the local machine, and > then tell the tag libs to look at the local copy of > the dtd? > > I don't want to try to get a hole broken in the > firewall for this. > > Thanks all! > > __ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > *** > > This electronic mail transmission contains > confidential and/or privileged > information intended only for the person(s) named. > Any use, distribution, > copying or disclosure by another person is strictly > prohibited. > *** > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** This electronic mail transmission contains confidential and/or privileged information intended only for the person(s) named. Any use, distribution, copying or disclosure by another person is strictly prohibited. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts Taglib DTD's and Firewalls
Kevin, I downloaded all the DTDs and editied the taglib and XML files to remove the url but keep the DTD. I now get this error: org.apache.jasper.compiler.CompileException: /int0/webdata/swtools/apps/tir/toolDevelopmentRequest.jsp(0,0) Unable to open taglibrary /WEB-INF/struts-html.tld : Parse Error in the tag library descriptor: Relative URI "web-app_2_3.dtd"; can not be resolved without a base URI. What do I need to do to tell the xml/tld files that the dtd is in the same directory as the other files? Do I have to put an absoulte URL or can I get away with a realitive path somehow? Thanks --- Kevin Peters <[EMAIL PROTECTED]> wrote: > That's what we did. We downloaded all of the DTDs > our application > references so we can point to a local copy. Make > sure you keep them > current, though. > > > Kevin > > -Original Message- > From: Matt E [mailto:[EMAIL PROTECTED] > Sent: Wednesday, June 25, 2003 10:06 AM > To: [EMAIL PROTECTED] > Subject: Struts Taglib DTD's and Firewalls > > > Hello All. > > I'm attempting to deploy a Struts project to a > server > here at work. Whenever I try to access any pages in > it I get this error: > > org.apache.jasper.compiler.CompileException: > /int0/webdata/swtools/apps/tir/toolDevelopmentRequest.jsp(0,0) > Unable to open taglibrary /WEB-INF/struts-html.tld : > Parse Error in the tag library descriptor: External > entity not found: > "http://java.sun.com/dtd/web-app_2_3.dtd";. > > I think this is due to a firewall that blocks all > access to external sites unless you have entered a > username and password. > > From my local machine I can access the dtd. Is > there > anyway to put a copy of it on the local machine, and > then tell the tag libs to look at the local copy of > the dtd? > > I don't want to try to get a hole broken in the > firewall for this. > > Thanks all! > > __ > Do you Yahoo!? > SBC Yahoo! DSL - Now only $29.95 per month! > http://sbc.yahoo.com > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > > > *** > > This electronic mail transmission contains > confidential and/or privileged > information intended only for the person(s) named. > Any use, distribution, > copying or disclosure by another person is strictly > prohibited. > *** > > > > > - > To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
RE: Struts Taglib DTD's and Firewalls
That's what we did. We downloaded all of the DTDs our application references so we can point to a local copy. Make sure you keep them current, though. Kevin -Original Message- From: Matt E [mailto:[EMAIL PROTECTED] Sent: Wednesday, June 25, 2003 10:06 AM To: [EMAIL PROTECTED] Subject: Struts Taglib DTD's and Firewalls Hello All. I'm attempting to deploy a Struts project to a server here at work. Whenever I try to access any pages in it I get this error: org.apache.jasper.compiler.CompileException: /int0/webdata/swtools/apps/tir/toolDevelopmentRequest.jsp(0,0) Unable to open taglibrary /WEB-INF/struts-html.tld : Parse Error in the tag library descriptor: External entity not found: "http://java.sun.com/dtd/web-app_2_3.dtd";. I think this is due to a firewall that blocks all access to external sites unless you have entered a username and password. >From my local machine I can access the dtd. Is there anyway to put a copy of it on the local machine, and then tell the tag libs to look at the local copy of the dtd? I don't want to try to get a hole broken in the firewall for this. Thanks all! __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] *** This electronic mail transmission contains confidential and/or privileged information intended only for the person(s) named. Any use, distribution, copying or disclosure by another person is strictly prohibited. *** - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Struts Taglib DTD's and Firewalls
Hello All. I'm attempting to deploy a Struts project to a server here at work. Whenever I try to access any pages in it I get this error: org.apache.jasper.compiler.CompileException: /int0/webdata/swtools/apps/tir/toolDevelopmentRequest.jsp(0,0) Unable to open taglibrary /WEB-INF/struts-html.tld : Parse Error in the tag library descriptor: External entity not found: "http://java.sun.com/dtd/web-app_2_3.dtd";. I think this is due to a firewall that blocks all access to external sites unless you have entered a username and password. >From my local machine I can access the dtd. Is there anyway to put a copy of it on the local machine, and then tell the tag libs to look at the local copy of the dtd? I don't want to try to get a hole broken in the firewall for this. Thanks all! __ Do you Yahoo!? SBC Yahoo! DSL - Now only $29.95 per month! http://sbc.yahoo.com - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]