Use useBean: <jsp:useBean id="formBeanNameDefinedInStrutsConfig" scope="session" class="com.here.formbeans.myFormBean" />
you can then access it from a scriptlet: <% formBeanNameDefinedInStrutsConfig.callme(newCalendar); %> hth, Tim. -----Original Message----- From: Marcelo Caldas [mailto:[EMAIL PROTECTED]] Sent: Tuesday, March 19, 2002 5:12 PM To: Struts Mailing List Subject: Accessing ActionForm... Hi guys, I'm trying to call a specific method on my action form. This method receives a calendar as argument, so I'm trying to expose it on the page and then call the method inside a scriptlet... My problem is that I can't expose it... I tried <bean:struts formBean> and <bean:define>... None of them allow me to expose it... Is this the right way of doing so? If yes, how? Or there's a better way? Thanks Marcelo. -- 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]>

