Okay I am new to struts (around a week) and having made a couple of little
test apps am moving towards validation and w3c compliance.  I am using 1.2.4
for what it is worth in Netbeans 4.0.

There appears two methods of enabling html compliance with struts.  The
first is <html:html xhtml="true">  which adds the xmlns info.  The second is
via <html:xhmtl /> which is closed so I guess I don't need it if I have
xhtml="true" in my opening tags.  Or do I?  Documentation suggests that
without the <html:xhtml /> then the output will be to html 4.x (no closed
tags etc.).  I am correct in assuming this?  Code doesn't seem changed
either way but then again my JSP is well formed to begin with.

Also there doesn't appear to be a doctype tag in struts.  Is there one in
the JSTL?  I have done a search but haven't found an answer.  It seems to be
rather obvious to me that since every file will be reduced to (x)html and by
w3c standards a (x)html file must have a DOCTYPE that a tag would be
present.  However I haven't found one.

Also what version of the struts should I be using?  The standard struts or
the el version?  From what I can make out it would appear the EL version
will be the 1.3 release with a lot of the Struts/JSTL overlap removed and a
new parser?.  Would it be better to use the EL version over the "regular"
version?

On the Netbeans front (I know this isn't the place for it but I hope someone
can help) the documentation that appears when selecting the tags doesn't
have any description of what the tags do.  Where is this information locally
or should I download the src to get the documentation?  I'd rather have a
local copy than use the public one on sao/api/.

Thanks for your time, Graham Reeds.




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

Reply via email to