You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Steven Peterson <sp...@frontierproductions.net> on 2000/12/13 23:54:50 UTC
How to use struts form tags without ActionForms
Hi all:
I have developed a fairly involved database application using servlets
(pre-JSP) and am now retrofitting the user interface to JSP/Struts. I
am not sure I see the use of ActionForms. The documentation says that
the primary use of ActionForms is to maintain the information from the
user's request but there are many cases in which I would like to have
the jsp page talk directly to my existing business beans without
maintaining an ActionForm for every request. How can I use struts tags
(e.g. struts:text)
to read/update existing business beans that don't implement the
ActionForm interface (but follow bean getter/setter conventions
nevertheless)? Am I misunderstanding how ActionForms fit into an
overall design?
- Steve
--
Steven Peterson, President
Frontier Productions, Inc.
310 Wesley Drive
Chapel Hill, NC 27516
http://www.frontierproductions.net
Tel: 919-942-1386
Fax: 919-933-2677