• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Servlet to detect http requests from Verizon phone

 
Victor Ho
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I'd like to find out if there is a way for a servlet to distinguish between a request coming from a Verizon phone vs. other carriers through HTTP?

I understand that the wap user-agent header field tells about the phone model, is there a way to derive the carrier?

Thanks
Victor
 
Mark Spritzler
ranger
Sheriff
Posts: 17278
6
IntelliJ IDE Mac Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You could always write your J2ME APP to send that info as a parameter to the URL that the Servlet can then read.

Mark
 
Victor Ho
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mark.

I am basically trying to avoid making the user to input which carrier he is using. Is there a way for an J2ME app to find out this information w/o asking the user?

If so, your suggestion would work.

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic