Re: Location of struts_config DTD file?
Thanks for the help guys. There was a problem with the struts.jar we had. Apparently it was broken. We fixed it. On Dec 29, 2007 8:16 AM, Wendy Smoak [EMAIL PROTECTED] wrote: On Dec 28, 2007 12:10 AM, Sridhar Raman [EMAIL PROTECTED] wrote: In the struts-config.xml file, I need to specify the location of the struts_config DTD file. Normally, this is given as an http link. But if the net is down, it obviously won't work. Not true. The DTD is inside the Struts jar, and you don't need to copy it anywhere. Here's a post explaining how it works for Struts 1: http://marc.info/?l=struts-userm=107842475723945 The documentation says that one needs to copy the DTD into the struts.jar under resources. But doing this also doesn't help. I still get the same exception. What documentation? (And what exception?) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Location of struts_config DTD file?
copy this file to your web-inf and use relative path's i did like this struts.xml !DOCTYPE struts PUBLIC -//Apache Software Foundation//DTD Struts Configuration 2.0//EN ../conf/struts-2.0.dtd Sridhar Raman schrieb: In the struts-config.xml file, I need to specify the location of the struts_config DTD file. Normally, this is given as an http link. But if the net is down, it obviously won't work. The documentation says that one needs to copy the DTD into the struts.jar under resources. But doing this also doesn't help. I still get the same exception. On Windows, I could atleast use file:// instead of http:// and point to a location on the local machine. This works, but the same doesn't work in UNIX. Can someone kindly help? Thanks, Sridhar - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Location of struts_config DTD file?
Sridhar Raman wrote: In the struts-config.xml file, I need to specify the location of the struts_config DTD file. Normally, this is given as an http link. But if the net is down, it obviously won't work. The documentation says that one needs to copy the DTD into the struts.jar under resources. But doing this also doesn't help. I still get the same exception. On Windows, I could atleast use file:// instead of http:// and point to a location on the local machine. This works, but the same doesn't work in UNIX. Can someone kindly help? I'm not sure which documentation you refer to above, but you shouldn't need to do anything for the DTD to be resolved; AFAIK it should 'just work'. However, I believe this might have been broken in some releases (I seem to recall seeing discussion about it on the dev list). If you're not using the latest release, upgrading might help. L. - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Location of struts_config DTD file?
On Dec 28, 2007 12:10 AM, Sridhar Raman [EMAIL PROTECTED] wrote: In the struts-config.xml file, I need to specify the location of the struts_config DTD file. Normally, this is given as an http link. But if the net is down, it obviously won't work. Not true. The DTD is inside the Struts jar, and you don't need to copy it anywhere. Here's a post explaining how it works for Struts 1: http://marc.info/?l=struts-userm=107842475723945 The documentation says that one needs to copy the DTD into the struts.jar under resources. But doing this also doesn't help. I still get the same exception. What documentation? (And what exception?) -- Wendy - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Location of struts_config DTD file?
In the struts-config.xml file, I need to specify the location of the struts_config DTD file. Normally, this is given as an http link. But if the net is down, it obviously won't work. The documentation says that one needs to copy the DTD into the struts.jar under resources. But doing this also doesn't help. I still get the same exception. On Windows, I could atleast use file:// instead of http:// and point to a location on the local machine. This works, but the same doesn't work in UNIX. Can someone kindly help? Thanks, Sridhar