Title: Message
Try
 
   <action name="actions.MyAction" alias="index">
         <view name="success">success.jsp</view>
         <view name="error">error.jsp</view>
   </action>
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of G.L. Grobe
Sent: Monday, February 18, 2002 12:31 AM
To: [EMAIL PROTECTED]
Subject: [Webwork-user] command driven

After changing from views.properties w/ CommandDriven actions to actions.xml, does the following mean there's something wrong w/ the action itself or was it ever found because of maybe a bad index?
 
[Default] [ (ServletDispatcher)] Could not instantiate action:index
java.lang.IllegalArgumentException: Action 'index' not found
        at webwork.action.factory.JavaActionFactory.getActionImpl(JavaActionFactory.java:68)
--- actions.xml ---
   <action name="actions.MyAction" alias="index">
      <command name="execute" alias="index.exec">
         <view name="success">success.jsp</view>
         <view name="error">error.jsp</view>
      </command>
   </action>

Reply via email to