Hello to all (",)
Basically, I have a JSP page. What I want is to determine the screen resolution of the client machine that is viewing my JSP page.
I tried using a JavaBean to do this but Im not getting the results I wanted. So I use JS.
My JS variable gets the screen resoultion.
Now my question is how can I use this JS variable in my JSP page.
I tried this code
String jsWidth ="<script>document.write(scwidth)</script>";
but its not working for me.
Any suggestion is greatly appreciated. Thanks (",)