Exception creating bean of class app.logonForm: {1} 都弄了一天了,还是不行!!
小弟初学strus,看的是strus in action 照例子敲了一个,但是一直是这个问题,我都把例子弄到最简单还是不行,抓狂了都,麻烦各位大哥大姐帮忙看一下:
struts—config:
<?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= "logonform "
type= "app.logonForm "/>
</form-beans>
<global-exceptions>
</global-exceptions>
<global-forwards>
<forward
name= "welcome "
path= "/Welcome.do "/>
</global-forwards>
<action-mappings>
<action
path= "/Welcome "
forward= "/pages/Welcome.jsp "/>
<action
path= "/logonSubmit "
type= "app.logonAction "
name= "logonform "
scope= "request "
validate= "false "
input= "/pages/welcome.jsp ">
<forward name = "success " path= "pages/success.jsp "/>
<forward name = "failure " path= "pages/failure.jsp "/>
</action>
</action-mappings>