on 01-01-2008 7:06 AM
Dear Experts,
I have a JSP form and on click of the submit i call a Java script. In the javascript i call a method in a bean (and pass string parameters) which would return me boolean value. Now On click of submit in the Javascript i'm able to call the bean method and pass hardcoded values successfully. But i'm not able to pass to the bean thee form input field values as parameter. I was able to get the form value in a variable say Var Str1, but not able to pass 'Str1' to the bean as parameter.
Points will surely be awarded.
Hi Mohamed Yusuf Penna Khaja,
You can access input field using java scriplet( instead of approach taken by you--java script to read input filed value) and pass the value to bean setter method.
Regards,
Ganga.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.