Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

How to determine the users Browser (IE or WML)

is there a way to programatically determine what the users browser is?

I have a webdynpro that can run on both Blackberry (WML browser) and IE via the portal.

I need a way to identify the users browser from Webdynpro Java.

replied

Hi,

When I ran the following statement in IE,

TaskBinder.getCurrentTask().getClient().getClientDescription().getName()

I got it as "HtmlClient".

Try from BB, you may get "WmlClient"

-Aarthi

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question