• Post Reply Bookmark Topic Watch Topic
  • New Topic

Rendering webpage based on request recieved from MobileBrowser/SystemWebBrowser  RSS feed

Gopi Chand Maddula
Ranch Hand
Posts: 41
Eclipse IDE Firefox Browser
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi JavaRanch,

I am developing a web application which should be accessed on both system's web browser as well as Mobile browser.
My Requirement is to render my page depending on the browser from which i received a request. But i was unable to know how can i identify where i got the request from.
I have two jsp's systempage.jsp and mobilepage.jsp. If i got the request from normal web browser then i should render systempage.jsp and if i got the request from mobile then i should render the mobilepage.jsp.

Can anyone help me on differentiating the request received?
Can someone please help me finding the solution for this issue.

Thanks in Advance....
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!