File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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 EJB 3 in Action this week in the EJB and other Java EE Technologies 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Not able to load Action Class
 
Similar Threads
Cannot Find Bean inscope null
Problem in using DispatchAction
Problem with DispatchAction.
Struts wizard problem
FormFile not working