setlocale « JSTL « JSP-Servlet Q&A





1. How can I set locale for JSP using ?    stackoverflow.com

I'm trying to set the local in JSP. I thought I'd be able to do something like:

<fmt:setLocale value="${param['local']}" scope="session"/>
Java's own page on the topic seem to say exactly so much. However, ...

2. How to set JSTL locale from Java code?    stackoverflow.com

I want to set the JSTL locale which is used by <fmt:formatNumber> and friends. I know this is possible with <fmt:setLocale>, but I need to do it dynamically (depending on user ...