Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Rendering webpage based on request recieved from MobileBrowser/SystemWebBrowser

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....
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic