wood burning stoves 2.0*
The moose likes Java Micro Edition and the fly likes Connecting with Servlet Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Connecting with Servlet" Watch "Connecting with Servlet" New topic
Author

Connecting with Servlet

Muhammad Ammad Husain
Greenhorn

Joined: Oct 16, 2002
Posts: 20
I have servlet running on www.myserver.com\servlet\myapp
i acess it through my mobile simulator(j2me)how my servlet recognize it that it this request is originate from mobile device or normal Internet browser.Because i have to be careful while giving response to mobile.
Michael Yuan
author
Ranch Hand

Joined: Mar 07, 2002
Posts: 1427
Your MIDlet can write a special HTTP header that is recognized the by your servlet.


Seam Framework: http://www.amazon.com/exec/obidos/ASIN/0137129394/mobileenterpr-20/
Ringful: http://www.ringful.com/
 
GeeCON Prague 2014
 
subject: Connecting with Servlet