I have a jsp page in which i need to show all the existing groups in a database as checkboxes.when i check a few and click display button i have to display the members in each group in a seperate window.
different records in differnet windows...
Collapse
X
-
Are you submitting to a servlet to look up the group members or are the members already available on the page?Originally posted by ramapvI have a jsp page in which i need to show all the existing groups in a database as checkboxes.when i check a few and click display button i have to display the members in each group in a seperate window. -
I'm not really sure I get the complete picture but if you want a vaue to be available to jsp and javascript, you could use a hidden select with values. You can set/change the values using javascript and can get the values in a jsp (after submitting) using request.getPara meterValues("se lectName"). This returns a string array of the values of the select.Originally posted by ramapvNot exactly, but importing the sql package and making the necessary mainipulations there it self.
Can you tell me how the values can be acessed when we submit form in a java script which is in the same jsp page.
Thanks 4 d responseComment
-
Use include to include other pages.Originally posted by ramapvcan we get a variables value in a page to another jsp using <jsp:include>
For variables use form elements (hidden and visible) and use request.getPara meter() to get them in the next page.
http://archive.coreweb programming.com/Chapter20.htmlComment
Comment