The following bit of code sets the Locale from lang param on querystring.
<c:if test="${param['lang'] != null}">
<fmt:setLocale value="${param['lang']}" scope="session"/>
</c:if>
How do I now read that variable?
I know its a bit noobish.
I need a bit of conditional logic to display one language link if the local hasn't been set in the session scope using the fmt:setLocale
, and another if it has been set to a specific locale.
Thanks