different records in differnet windows...

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ramapv
    New Member
    • Oct 2006
    • 28

    different records in differnet windows...

    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.
  • r035198x
    MVP
    • Sep 2006
    • 13225

    #2
    Originally posted by ramapv
    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.
    Are you submitting to a servlet to look up the group members or are the members already available on the page?

    Comment

    • ramapv
      New Member
      • Oct 2006
      • 28

      #3
      Not 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 response

      Comment

      • r035198x
        MVP
        • Sep 2006
        • 13225

        #4
        Originally posted by ramapv
        Not 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 response
        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.

        Comment

        • ramapv
          New Member
          • Oct 2006
          • 28

          #5
          can we get a variables value in a page to another jsp using <jsp:include>

          Comment

          • r035198x
            MVP
            • Sep 2006
            • 13225

            #6
            Originally posted by ramapv
            can we get a variables value in a page to another jsp using <jsp:include>
            Use include to include other pages.
            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.html

            Comment

            Working...