Hi

We had the case somebody had a browser language which is not supported
by our messages and hence received the following error:

javax.servlet.jsp.JspTagException: No message found under code

Then I checked /WEB-INF/cas-servlet.xml and noticed that there is no
defaultLocale set, as for example


  <bean id="localeResolver"
class="org.springframework.web.servlet.i18n.CookieLocaleResolver">
    <property name="defaultLocale" value="de"/>
  </bean>

whereas I am using cas-server-webapp-3.5.2.

It seems CAS 4 has this fixed

https://github.com/Jasig/cas/blob/master/cas-server-webapp/src/main/webapp/WEB-INF/cas-servlet.xml

but maybe my hints help anyhow.

Thanks

Michael

-- 
You are currently subscribed to [email protected] as: 
[email protected]
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-user

Reply via email to