Posting from a form by

Java Code:
<form action="http://somewhere.com" method="post">
<input type="hidden" name="params" value="<some xml>" />
<input type="submit" value="submit" />
and doing it via PostMethod

Java Code:
       PostMethod post = new PostMethod("http://somewhere.com");
       post.addParameter("params", "<some xml>");
       HttpClient client = new HttpClient();
       int status = client.executeMethod(post);   
} catch (Exception e){
       out.print("ERROR ");
} finally{

yields a different result. By PostMethod the response is sort of captured and I can output it with out.print, but instead I would like to open the response page on the source server as a page. Is it possible to simulate the form/post behaviour on the PostMethod and HttpClient?