struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeffrey Black <jeffblack...@gmail.com>
Subject Re: Invalid action class configuration that references an unknown class named?
Date Sat, 31 Dec 2011 21:39:47 GMT
Could you perhaps post the applicable portion of your Spring configuration
and your "appDefaultStack" configuration?

jb

2011/12/30 怪侠 <87863823@qq.com>

> I use struts2 +spring. My application can work correctly. But if the form
> validation fail, the application can't submit again. Always get the
> exception: Invalid action class configuration that references an unknown
> class named[sysuserAction]. Below is my struts.xml:
>   <action name="*SysuserAction" class="sysuserAction"
>   method="{1}">
>   <interceptor-ref name="token">
>    <param name="includeMethods">save,update</param>
>   </interceptor-ref>
>   <interceptor-ref name="appDefaultStack" />
>   <result name="add">/sysuser/addSysuser.jsp</result>
>   <result name="list">/sysuser/listSysuser.jsp</result>
>   <result name="edit">/sysuser/editSysuser.jsp</result>
>   <result name="editInput">/sysuser/editSysuser.jsp</result>
>   <result name="invalid.token">/common/invalid.jsp</result>
>  </action>
>
>  and I define the sysuserAction as a bean in spring.
>  Could anyone tell me the reason?
>  Only when validation can't pass, it can't submit again. Even though I
> fill all the form element in correct format.
>
>
>  Thanks very much.

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message