cancel
Showing results for 
Search instead for 
Did you mean: 

Get Browser Type

Former Member
0 Kudos

Hi All,

Is there any way to get the Browser type of the web dynrpo application at runtime?

Regards,

Mathan

Accepted Solutions (0)

Answers (3)

Answers (3)

siarhei_pisarenka3
Active Contributor
0 Kudos

Hi Mathan

HttpServletRequest httpReq = (HttpServletRequest) TaskBinder.getCurrentTask().getProtocolAdapter().getRequestObjectInternal().getProtocolRequest();
httpReq.getHeader("USER_AGENT");

Important: The code in not a public Webdynpro API and not recommended. The internal API could be changed within new Webdynpro versions without any notification!

BR, Sergei

Former Member
0 Kudos

Hi Mathan,

U get from getHeader("USER_AGANT") method of HttpServletRequest.Why do u want that?

Regards,

srikanth

former_member192434
Active Contributor
0 Kudos

Hi

Proabably you need to check SAP Note: 578397 might hlep u

Thanks