Hi,
How can I pass a value from one JSP file to another??. I am trying
to capture the value of an item selected from a select list and pass that
value to the next JSP screen. Everything that I do does not seem to work.
Please help
Regards
Ashish
Visit http://www.NetVarsity.com for onli
16:09
> To: [EMAIL PROTECTED]
> Subject: Passing values
>
>
> Hi,
> How can I pass a value from one JSP file to
> another??. I am trying
> to capture the value of an item selected from a select list
> and pass that
> value to the next JSP screen. Everything
There are several ways you can do:
1. If you are using a java bean, after set the page scope to "application", in
the first jsp page, you can use setProperty to set the value of the selected
item. in the second jsp page, you can use getProperty to retrieve the value.
2. Set the whole scope to "se
It is cleaner if you use javaBean to pass your value.
Tiana Zhang wrote:
> There are several ways you can do:
> 1. If you are using a java bean, after set the page scope to "application", in
> the first jsp page, you can use setProperty to set the value of the selected
> item. in the second jsp