Win a copy of hapi.js in Action this week in the HTML, CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get the device name in MIDP

 
sachin warang
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends,
I'm using Servlet with MIDP .While sending a request to server we set some property like
conn.setRequestProperty( "User-Agent",
"Profile/MIDP-1.0 Configuration/CLDC-1.0" );
conn.setRequestProperty(
"Content-Language", "en-US" );

conn.setRequestProperty( "Accept",
"application/octet-stream" );

at Client side.
Which can be get at server (servlet) side.By
request.getHeader("User-Agent"); method.

Does there any RequestProperty exist from we set the device name at Client side(which later retrive at server side)?
Or is there any other way to do so?

Regards,
Sachin Warang.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!