Does anyone have a good basic tutorial on setting up a struts application
within Visual Age 4.0? 

I have seen a guide to setting up the example that comes with the struts
download, but the instructions on serving the dtd files did not work - I
searched for a another tutorial and found one at JSPInsider
(http://www.jspinsider.com/tutorials/jsp/struts/jspdesign.view) but am again
having problems with the dtd files:

I have changed the struts-config.xml link to the dtd from
http://jakarta.apache.org/struts/dtds/struts-config_1_0.dtd"; to
http://localhost/struts/struts/dtds/struts-config_1_0.dtd"; (also changing
PUBLIC to SYSTEM) but get a parsing error:

Parse Fatal Error at line 5 column 11: The document type declaration for
root element type "struts-config" must end with '>'.
org.xml.sax.SAXParseException: The document type declaration for root
element type "struts-config" must end with '>'.

I have Xerces 1.4.4 in my workspace and the IBM XML Parser that comes with
VAJ 4.0 - I have tried a newer version of the IBM XML Parser (3.2.1) but
this did not fix the problem.

Any help much appreciated.

Andrew.







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

Reply via email to