tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jerry Thomas" <>
Subject Re: Passing parameters to a bean from a JSP
Date Mon, 03 Apr 2000 12:29:30 GMT
How do I extract data from a FORM and assign the data to a Java variable 
that I have declared on my JSP?

> >
> > I have data contained in a JavaScript variable that would like to pass 
>to a
> > method on my Java bean. I have been successful retrieving data from my 
> > into my JSP but I cannot figure out how to format the script so that I 
> > send data back to my bean through its methods.

>You can pass parameters as FORM hidden fields that can be extracted from
>servlet and finally passed through to the Bean. This is independent from
>the cookie policy set at the browser.
>Juan Alvarez Ferrando

Get Your Private, Free Email at

View raw message