Sohil Rupani wrote:
hi , i m getting the following error
of which i understand there might be a problem with my struts-config file
but i checked it and couldn fine any
i m using struct 1.3.8
below i have pasted my structs-config file
SEVERE: javax.servlet.UnavailableException: Parsing error
processing resource path jndi:
/localhost/struts/WEB-INF/struts-config.xml
at
org.apache.struts.action.ActionServlet.handleConfigException(ActionSe
rvlet.java:774)
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE struts-config PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 1.3//EN"
"http://struts.apache.org/dtds/struts-config_1_3.dtd">
<struts-config>
<form-beans>
<form-bean name="registerForm" type="RegisterForm"/>
</form-beans>
<action-mappings>
<action path="/struts" type="RegisterAction" name="registerForm">
<forward name="success" path="/success.vm"/>
<forward name="failure" path="/failure.vm"/>
</action>
</action-mappings>
</struts-config>
What you pasted here looks OK after a quick visual scan. Try using an
XML validation tool to check it against the DTD, though. And check your
logs to see if there's any additional information; there should be
something in there describing what the parsing error was.
L.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]