struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sohil Rupani <so...@gslab.com>
Subject Servlet /struts threw load() exception
Date Wed, 09 Jan 2008 03:59:02 GMT
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>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message