Hello,

I have a problem to submit data to a server using " <input type="image"> ".

Here the html source:

<form name="ExportBillDataForm" method="post"
action="/bop/ebp/app/billpresentment/exportprocessbans">
                <!-- A D D   A L L   B U T T O N -->
                <input type="image" name="addAllButton"
src="/bop/ebp/images/buttons/but_add_all.gif" border="0" alt="Alle
zuweisen"><br>
                <img src="/bop/ebp/images/pixel.gif" height="5"
border="0"><br>

                <!-- R E M O V E   A L L   B U T T O N -->
                <input type="image" name="removeAllButton"
src="/bop/ebp/images/buttons/but_substract_all.gif" border="0" alt="Alle
entfernen"><br></form>

Here my httpclient code:

 client.executeMethod(authget);
            PostMethod authpost1 = new
PostMethod("/bop/ebp/app/billpresentment/exportprocessbans");
            NameValuePair action   = new NameValuePair("action",
"/bop/ebp/app/billpresentment/exportprocessbans");
            NameValuePair url1      = new NameValuePair("url", 
"/bop/ebp/app/billpresentment/exportprocessbans");
            NameValuePair bla = new NameValuePair("addAllButton",
"addAllButton");
            authpost.setRequestBody(new NameValuePair[] { action, url,bla
});
  client.executeMethod(authpost1); 

but I didn't get the valid result, because the server don't revceive the
"addAllButton" attribute..


How can I submit  data with <input type="image"> using httpclient?

Thanks for your help....
           


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to