You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Wayland Chan <in...@yahoo.com> on 2001/07/19 21:37:25 UTC

FIXED: Still having problems with finding DTDs if server behind f/w

I've fixed the problem. Was a typo in the file URI I
replaced in the DOCTYPE
 
Instead of...
"file://w/WebSphere/AppServer/hosts/default_host/ptm/servlets/org/apache/struts/resources/*.dtd"

The correct syntax was...
"file:/w:/WebSphere/AppServer/hosts/default_host/ptm/servlets/org/apache/struts/resources/*.dtd"

Weird looking but works. I noticed this typo when
rereading the archived articles and noticed Chris
Assenza's fix for this.


Ciao,

Wayland Chan


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

Is this a bug in web.xml or the JavaDoc?

Posted by Wayland Chan <in...@yahoo.com>.
The JavaDoc for the servlet initialization parameters
for ActionServlet read...

"validating - Should we use a validating XML parse to
process the configuration file (strongly recommended)?
[true] "

However, looking at web.xml that is in the
struts-example.war and struts-blank.war (for
Struts-1.0), I see...

<init-param>
  <param-name>validate</param-name>
  <param-value>true</param-value>
</init-param>

Should the <param-name>validate</param-name> be
<param-name>validating</param-name> instead?


Wayland Chan



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