You can use struts framework without formbean, without validation, without
error handling ...

But doing so, struts will be a less powerfull framework.

You can begin with just a mapping, an Action that does what you want and a
JSP.

Adding a formbean will allow you see that Struts maintains data from HTML to
Action. You should add validation and error handling, and you will have your
first struts example, manipulating your datas with just one formBean /
action.

create JSP <->
view JSP   <->
update JSP <->  FormBean  <-> Action ( <-> Database ? )

Nico.


> Am just starting with the framework.  Have done my homework, reading
> O'Reilly book and other tutorials online, and surprisingly I don't see
this
> question addressed anywhere.  My question is pretty straightforward: when
I
> simply have an anchor (link) on a page, not a form submit, what's the
> minimum amount of configuration I need to do for that case?  I.e., I'm
> assuming I don't need an ActionForm since there is no form...?  Is there
> anything else in the process I can skip doing to simplify these cases?
>
> Note: I do have an "action" and a "forward" (Success) defined.
>
> Thanks,
> David
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to