X-UA-Compatible Java Servlets / JSF

A User on the glassfish mailing list posted a question: I would like to aks it. How must set up ie8 compatibility mode in glassfish? This is the iis setting: <system.webServer> <httpProtocol> <customHeaders> <clear /> <add name="X-UA-Compatible" value="IE=EmulateIE7" /> </customHeaders> </httpProtocol> </system.webServer><system.webServer> <httpProtocol> <customHeaders> <clear /> <add name="X-UA-Compatible" value="IE=EmulateIE7" /> </customHeaders> </httpProtocol> </system.webServer> Well… how […]

Authentication in JSF2 with JAAS: Part 2 – Authenticating a client/user

The second part of the series covers the basics needed to understand authorization in a JavaEE application based on the principles provided by JAAS and how they apply in modern, JavaEE based web applications. The user is thought, how to configure his web-application to use role-based authorization and authenticate against a specific realm.

Using German Umlauts / Umlaute in JSF/JSF2

If you happen to localize your JSF Web-Application to German, you’ll probably have problems displaying German Umlauts ( äÄ, ö Ö, ü Ü, ß) in your page. How to resolve this? Encode the umlauts with their Unicode code in your message-bundle like this ä = \u00e4 Ä = \u00c4 ö = \u00f6 Ö =\u00d6 ü […]