I ave deployed a configured Tomcat Apache Server on my system.
Now to create a HTTP connection through MIDlet i included the following piece of code in my program:

public void login(String UserName,String PassWord) {
HttpConnection connection=null;
DataInputStream in=null;
String url="http://localhost/Hello.jsp";

After building and running this program in SDK 3.0, i entered as location for this server.
But logging in provided me wth the html code of above Hello.jsp file.

Please assist how to connect properly, how to display the jsp page ..?