3 Replies Latest reply on Jan 15, 2010 7:21 AM by Gregory Lafrance

    I am not able to access my jsp using HttpService

    kiran7881 Level 1

              public function Register():void

              {
          var paramObj:Object = new Object();
          paramObj.username = UserNameTI.text;
          paramObj.password = PasswordTI.text;
            userService.send(paramObj);
              }

       

          <mx:HTTPService
              id="userService"
              url="http://localhost:8082/httpservice/index.jsp"
              result="handleResult(event)"
              fault="handleFault(event)"
              showBusyCursor="true">       
          </mx:HTTPService>

       

                  <mx:Button           
                      click="Register()"
                      label="SubmitToServer"/>

       

      This is my sample jsp page :

       

       

      <HTML>

      <BODY onload="call()">
       
      <SCRIPT>

       


      function call()
      {

       


      alert('Hai');
      }
      </SCRIPT>

       

      </BODY>
      </HTML>

       

       


      Please help