assigning one user to another - java servlet, html and javascript and ajax - How to?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • gits
    Recognized Expert Moderator Expert
    • May 2007
    • 5388

    #16
    Hi Frinny,

    in case it deals from now on with the record-list control and events on a webpage it turns out as a JavaScript question ... probably with some ajax-based data-streams or something like this ... @the moment it is a bit unclear ... of course ...

    kind regards,
    gits

    Comment

    • tangara
      New Member
      • Jan 2010
      • 27

      #17
      Hi,

      Sorry I'm really new into this. Do you mind share with me any example codes that I can follow and I follow them accordingly?

      Thank you.

      Comment

      • tangara
        New Member
        • Jan 2010
        • 27

        #18
        Sorry just to check my understanding.

        I have to create another page - a jsp page? to get the data from the same html form. This jsp page would have a control list - user type1 and user type 2 inside is that right?

        After that when the servlet display that jsp page, it would enable the staff the do the assigning by pulling down the drop down list at user type 2 a list of all the names of usertype 1 and select the user type 1. After that, the user type 1 will appear in a separate column, is that right?

        But, how to implement things like that?

        Comment

        • acoder
          Recognized Expert MVP
          • Nov 2006
          • 16032

          #19
          For the JSP code help, ask in the Java forum. Even if you're going to eventually use Ajax, you'll still need to use some server-side code to connect to the database and get the data.

          Comment

          • tangara
            New Member
            • Jan 2010
            • 27

            #20
            Ok. I'll post it to jsp forrum. tks.

            Comment

            • tangara
              New Member
              • Jan 2010
              • 27

              #21
              How do I assign one user to another user?

              I have this form which has an option to choose between user 1 and user 2, along with other infor like name, id, address, contact etc.

              Now, I need to make a log in administrator to assign user 2 to user 1 and populate it to a table for viewing.

              How do I make it happen?

              Comment

              • gits
                Recognized Expert Moderator Expert
                • May 2007
                • 5388

                #22
                threads merged - please keep everything that is related to one issue in one thread. in case you wanted to ask something about jsp then ask in the java-forum since JavaScript doesn't have anything to do with JSP.

                regards,
                MOD

                Comment

                • tangara
                  New Member
                  • Jan 2010
                  • 27

                  #23
                  Seems like there's no one that can answer this question or know how.

                  Comment

                  • acoder
                    Recognized Expert MVP
                    • Nov 2006
                    • 16032

                    #24
                    You probably meant to post this in the Java forum. Here's a link to the Java forum.

                    Comment

                    Working...