HttpConnection - Bad request
[nobr]Hi all,
I am new to j2me and i am trying to connect my midlet through HttpConnection for accessing a text file from server. It works perfectly in my local server with apache tomcat.
My problem starts here, when i try to access the file from actual server (not localhost) the server responds with
<!DOCTYPE HTML PUBLIC"-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>400 Bad Request</title>
</head><body>
<h1>Bad Request</h1>
Your browser sent a request thatthis server could not understand.<br />
Additionally, a 400 Bad Request
error was encounteredwhile trying to use an ErrorDocument to handle the request.
</body></html>
The url is working in standard web browser. Is there any permission required from server so that client can communicate with HttpConnection ?[/nobr]

