Hello
i want to login on a page ( silkroad.ws ) but the login form doesnt have any destination link and you dont change the page.
if you want to test it i made an account:

loginname: gurutest
passwort: codeguru

Code:
  <form id="logfrm" style="margin:0;z-index:1;position:relative">
  <input style="border: 1px solid rgba(70, 70, 70, 0.5);border-radius: 5px 5px 5px 5px;padding: 3px 5px;width: 186px;margin: 3px 0;" size="16" value="User" id=lun type=text>
<br/>
<input type="password" style="border: 1px solid rgba(70, 70, 70, 0.5);border-radius: 5px 5px 5px 5px; width: 123px; padding: 3px 5px;margin:0 0 6px;" value="pass" size="16" id="lpw">
<input type=submit id=login value=Login>
<br/>
  <a href='./lostpass.htm' style='padding:0px;font-family:lucida,arial,helvetica,sans-serif' onclick='$.page("lostpass");return false;'><font style='color:#bbb;cursor:pointer;font-size:11px'>Forgot your password ?</font></a>
</form>
currently i only have the code to display the html code of the website and this is also working.

Code:
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.nio.charset.Charset;
import java.net.URL;
import java.net.URLConnection;

public class connection {
	  public static void excutePost(URL url) throws IOException
	  {
		  URLConnection connection = url.openConnection();
		  connection.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.11 (KHTML, like Gecko) Chrome/23.0.1271.95 Safari/537.11");
		  connection.connect();

		  BufferedReader r  = new BufferedReader(new InputStreamReader(connection.getInputStream(), Charset.forName("UTF-8")));

		  StringBuilder sb = new StringBuilder();
		  String line;
		  while ((line = r.readLine()) != null) {
		      sb.append(line);
		  }
		  System.out.println(sb.toString());
	  }
	  
}
it would be nice if someone got an idea how to solve this problem