This week's book giveaway is in the Security forum.
We're giving away four copies of Securing DevOps and have Julien Vehent on-line!
See this thread for details.
Win a copy of Securing DevOps this week in the Security forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Calling .aspx page from J2ME application  RSS feed

 
Greenhorn
Posts: 26
Android Java Java ME
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hai,
Is it possible to call a .aspx page from a J2ME application.
Actually am trying to call one .aspx page from J2ME application through http.like this
http://192.168.3.248/test/Default.aspx?uid=student&pwd=student

in the .aspx page i wrote
Response.Write("from aspx page");
but am not geing the response back in the j2me emulator.
http error 401 is coming.

but when i tried from browser, am getting the response message

what can i do for this problem.
Please help me...
[ October 31, 2007: Message edited by: Vijesh V Nath ]
 
Bartender
Posts: 19216
85
Android Eclipse IDE Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is no problem calling ASPX. You are getting this code as part of the HTTP security protocol.

When you attempt to access a secured site, the server will send back a 401 as an indicator that you need to send user ID and password. It will continue to do so until you either exhaust its patience or you provide valid credentials.

FOr more information: http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!