Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Not able to load Action Class  RSS feed

AmarjitInBangalore Kumar
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone

I am developing struts application and i using DispatchAction but my Action class is not able to load...
below is my code:

1)in jsp: <html:form action="/regSubmit?method=registerUser">

2)in struts-config.xml :

<action path="/regSubmit" name="regForm" type="com.amar.struts.RegisterAction" parameter="method" validate="true" input="/reg.jsp">
<forward name="success" path="/log.jsp" />
<forward name="failure" path="/reg.jsp" />

3)FormBean class : public class RegisterForm extends ValidatorForm{.....}

4) Action Class : public class RegisterAction extends DispatchAction{.....}

my formbean class is being loaded but action class is not being loaded and i am not getting any error....

please help to resolve this issue imediately...

Thanks in advance
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!