File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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

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:
I agree. Here's the link:
subject: Connecting with Servlet
It's not a secret anymore!