Hello dhay,
Thursday, June 07, 2001, 1:34:00 AM, you wrote:
dlc> Hi. I have a form where I display the current filename, and allow them to
dlc> change it. As such, I don't need to do anything in the action, just let Struts
dlc> populate the form bean.
dlc> How do I go about this? Do I need an action that does nothing in its perform
dlc> method? Or can I set things up so no action is needed at all?
What is the source of current filename? Do you retrieve it in your
form class? It is wrong solution if so.
Struts uses scheme with Action class (contains all logic to retrieve,
process and store data), ActionForm class (used to store values
between pages or actions and to validate it after submit), JSP-page as
view (to display values which was processed by Action class and stored
in session or request scope). According to this scheme you need to
implement action if you display by JSP any values fetched from
external source.
--
Best regards,
Oleg mailto:[EMAIL PROTECTED]