This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line!
See this thread for details.
Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes 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