aspose file tools*
The moose likes Struts and the fly likes Not able to load Action Class Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Not able to load Action Class" Watch "Not able to load Action Class" New topic
Author

Not able to load Action Class

AmarjitInBangalore Kumar
Greenhorn

Joined: Feb 12, 2013
Posts: 1
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" />
</action>

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Not able to load Action Class