Hi, Struts stores the Form bean into request or session scope depending on the attribute 'scope' in the Action tag in struts-config.xml The name under which it is stores is the value of the 'name' attribute of the Action tag.
However, you should avoid hardcoding the scope of the Form bean in your code. When you don't you will run into trouble when you want to change the scope, because it is no longer a matter of adjusting struts-config.xml but you will have to change every file where you've hardcoded the scope. It's better to do your calculations in your Action object and store any output that you want to print on your JSP in request scope. You can access the stored information from your JSP and print it. Freek on 09-01-2002 03:08 you wrote: > Hi all... > > How can I access an ActionForm object and play with it in Java from > within a JSP page? I need to perform some calculations on the > properties of an ActionForm. I'm currently sticking it into the request > object. Is there a better way? Struts must have taken care of this for > me one way or another, right? -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>