Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to send HTTPS-Post request to servlet using vb6 application?

Status
Not open for further replies.

davidck88

Programmer
Jan 5, 2009
27
NL
Hi all. I am trying to access a servlet using HTTPS Post protocol and get its response in textbox but i don't know how. All i want to send the servlet one varible which is name and get the server response in textbox.Right now when i type a name in the textbox and click submit i get directed to another page with some info as response(I want that response in textbox). I be happy if some one show me how this can be done.Thanks

Note: I don't want any webbrowser controle solution since not all users use IE6 or older

html of the page:

Code:
<form name="frmInfo" method="post" action="[URL unfurl="true"]https://www.somesite.com/ControllerServlet?RequestId=MyInfo.Nameinfo"[/URL] onSubmit=" return validateFields()"> 
              <table width="85%" border="0"> 
      
                 
                 
     
                <tr> 
                  <td width="94">&nbsp;</td> 
                  <td width="98">name</td> 
                  <td width="423"> 
                    <input name="name" type="text" size="20" maxlength="25" > 
                  </td> 
                </tr> 
                <tr> 
                  <td colspan="4"> 
                    <div align="center"> 
                     <br> <input name="Submit" type="image" id="Submit" src="/1.gif" > 
                    </div> 
                  </td> 
                </tr> 
                 
              </table> 
              </form>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top