1

I'm learning struts 1, yes, the old one.

Is it possible to use an Action (Dispatch Action for example) without a FormBean?

I know that is possible to use a FowardAction, but I want to use a DispatchAction because I need to use a Controller, but I don't need a FormBean, I'll get information from the query string.

danilo
  • 7,680
  • 7
  • 43
  • 46

1 Answers1

0

Yes, you can do it like this

<action-mappings>

    <action path="/myAction" name="myAction" scope="request" type="com.example.app.action.MyAction">
    </action>

</action-mappings>
Akila
  • 187
  • 2
  • 9