If there's a form associated with a request, Struts automatically
populates the form bean for you. Just submit the form to a URL with a
proper form bean mapping, and struts will populate the form bean with
values from request parameters for parameters whose names match those
on the form.

It doesn't matter if the form you're submitting is hidden or not, or
if there isn't even an actual HTML form.  Even a GET /myPage.do?id=001
request, if mapped to an action mapping with an associated form, will
have its form populated for you by Struts.

Hubert

On 1/29/06, Deepa Khetan <[EMAIL PROTECTED]> wrote:
> No, actually, its my requirement. When user enters a particualr field and
> leaves that textbox, i need to get some data from the database and display
> him that! So, i am sending the value in the textbox as a hidden parameter of
> another form and submitting it!
>
> Hope u got the real picture
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to