> Perhaps. But sometimes I just want to use the form in a scriplet.

Perhaps?   Well, it DOES create a page scoped attribute - no perhaps about
it! :)   I checked the source, FormTag.java.

> Now I have to either covert the attribute to local variable or
> use <bean:define>. Why not just create the variable like <bean:define>
> does?

But one of the main purposes of Struts is to get away from using scriptlets.


----- Original Message -----
From: "Erik Hatcher" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 24, 2001 7:25 PM
Subject: Re: <html:form> & scripting variable


> It does set a page scoped attribute (keyed by the form name from the
> mapping) that contains the form object.
>
>     Erik
>
>
> ----- Original Message -----
> From: "Gregor Rayman" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, July 24, 2001 9:50 AM
> Subject: <html:form> & scripting variable
>
>
> > Hi,
> >
> > why does <html:form> generate no scripting variable? Would be nice, if
> > it did.
> >
> > --
> > gR
> >
>


Reply via email to