Hi,
the ActionForm are used for the input form of your application.
If you use the ActionForm in your Action you don't have to use the
HttpServletRequest.getParameter("ID") method in order to obtain the
value of the parameter "ID", for example.
Furthermore, using ActionForm with package Validator you can validate
your forms in the client and server side.

What's new in Struts 1.2.2 
http://struts.apache.org/userGuide/release-notes.html

But the 1.2.2 has some problems. So in your case you can use the Struts
1.1


BR
/Amleto


-----Messaggio originale-----
Da: Marco Tedone [mailto:[EMAIL PROTECTED] 
Inviato: marted́ 7 settembre 2004 15.53
A: Struts-users
Oggetto: A couple of questions


Hi, in my company we are writing a new J2EE application using Struts. So
far we've used standard JSP/Servlet technology. HTML forms processed
from within our Servlets, processing the HttpRequest object. We sent
data to JSPs under the form of Value Objects which JSTL has managed
well.

Now I'm learning that with Struts there are ActionForm objects when
using HTML forms: however, although we are fine about using Actions for
any significant "client's action", as regards forms, we would like to
maintain our current strategy (HTML plain forms processed through
HttpRequest, VOs and JSTL).

First question:

Is there any reason why we shouldnt' maintain our current approach? Or
why we should use ActionForms?


Second question:

where could I find the major differences between 1.1 and 1.2?


Thank you and regards,

Marco Tedone
(SCJP, SCBCD)


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

Reply via email to