This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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

Win a copy of Head First Android this week in the Android forum!
JavaRanch » Java Forums » Mobile » Java Micro Edition
Bookmark "Connecting with Servlet" Watch "Connecting with Servlet" New topic

Connecting with Servlet

Muhammad Ammad Husain

Joined: Oct 16, 2002
Posts: 20
I have servlet running on\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
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:
jQuery in Action, 3rd edition
subject: Connecting with Servlet
jQuery in Action, 3rd edition