Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
Win a copy of Murach's Java Programming this week in the Beginning Java forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How to get the device name in MIDP  RSS feed

sachin warang
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" );
"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?

Sachin Warang.
I like tacos! And this tiny ad:
Thoughts on deprecation in Java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!