Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Not able to load Action Class

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
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic