File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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 Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Not able to load Action Class" Watch "Not able to load Action Class" New topic

Not able to load Action Class

AmarjitInBangalore Kumar

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" />

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:
subject: Not able to load Action Class