Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Servlets
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Servlets
doubt in servlets
Murali Jaya Rao
Ranch Hand
Posts: 43
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
hai everyone,
my doubt is when we are writing an
servlet
application how to know whether the request is coming from browser(form request from browser) or mobile devices? and if i want to send my response to mobile device rather than to browser how i can send?
//the request may be get or post
Murali,
SCJP
1.4.
Ben Souther
Sheriff
Posts: 13411
I like...
posted 16 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
The User-Agent request header should give you a good idea.
See:
http://java.sun.com/j2ee/1.4/docs/api/javax/servlet/http/HttpServletRequest.html#getHeader(java.lang.String)
Java API
J2EE API
Servlet Spec
JSP Spec
How to ask a question...
Simple Servlet Examples
jsonf
Slideshow boring ... losing consciousness ... just gonna take a quick nap on this tiny ad ...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
doubt regarding request parameters
doubt on a question from ibm test
BASIC authentication doubt.
Doubt: jsp:useBean
Socket doubt
More...