The below JSP (using Tomcat 6.0.24) to fetch Intranet Username has always worked on Windows XP with IE.
Now that we upgraded to Windows 7 it no longer works. It now responds with IE generic message Internet Explorer cannot display the webpage. Tomcat logs doesnt show any information or error messages.
Anything I can change to make it work using Windows 7?
Not only do you have Java code in a JSP, you have HTML inside the Java code inside the JSP.
It's really long past the time where code such as this is acceptable. It's time to update your knowledge with the JSTL and EL and move processing code out of the view and into other layers where it belongs.