How to use HTTP POST for getting xml parsed response
<p>i am using sax xml parsing for parsing the url but how to use HTTP Post method in my code bcoz in my code i never use HTTP POST or GET method .so how to use HTTP POST for getting web servises parsed response.means pls can you stuff in my code how to use HTTP post method..
my code is below..</p>

<pre><code>/** Called when the activity is first created. */
@Override
public void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
try {

        String temp = 



        Log.i("temp url..",temp);
        URL sourceUrl = new URL(temp);

        xr.setContentHandler(myXMLHandler);
        xr.parse(new InputSource(sourceUrl.openStream()));

    } 
     catch (Exception e) {
     System.out.println("XML Pasing Excpetion = " + e);
    }
     sitesList = XMLHandlerfiltersearch.sitesList;
     array_galleryname = new String[sitesList.getLatitude().size()];
</code></pre>

<p>}
thanks to all responses in adv.</p>

<p>pls answer my question i am waitng pls psl</p>
