Ok, which functionalities do those method perform? Have you thought to personal taglibs? The ActionForm should contain only getter/setter and validation methods. *Work* methods on data could be easily grouped somewhere else. The logic of the framework is request -> ?action(form) -> presentation, thus doing something like presentation-> form doesn't seem to me the right way to perform some logic in your application. IMHO, data should arrive to the JSP already formatted and ready to be displayed. What I see as normal, is to have scope attributes to manage from within your JSP; to avoid code you can write custom tags.
Marco ----- Original Message ----- From: "Carlos Saraiva" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Sunday, June 08, 2003 9:13 PM Subject: RE: How to access the ActionForm instance from within the JSP > > > Hi, > > > > > > I need to call methods of the ActionForm instance from within > > the JSP. Can > > > someone please tell me how to do this? I've tried defining a bean, but I > > get > > > a different instance of the class. > > > > > Which kind of methods do you need to call? > > > > Marco > > Methods written by myself. > > -- > Best regards, > Carlos Saraiva > Raleigh, NC > http://www.carlossaraiva.com mailto:[EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]