File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Detecting browser

 
Srinivasa Kadiyala
Ranch Hand
Posts: 237
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using the following struts tags to detect the browser and surprisingly IE is not able to show up as MSIE.able to detect in Netscape as Netscape7.2 and Windows NT.

Can any one help me ?


<logic resent header="user-agent">
<logic:match header="user-agent" value="Netscape/7.2">
Netscape7.2
</logic:match>
<logic:match header="user-agent" value="Windows NT 5.1">
Windown NT 5.1
</logic:match>
<logic:match header="user-agent" value="MSIE 6.0">
MSIE
</logic:match>
</logic resent>

Thanks in advance
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic