Internatilization and Localization in JSP

using Java Standard Tag Library a.k.a. JSTL!

Put this in web.xml

Now add two files under src\main\java\resources

Contents for _tr version D\u00FCnya

Contents for _en version World

And finally in the jsp file:
<%@ taglib prefix="fmt" uri="" %>
<h2><fmt:message key="" /></h2>

Now access the page with 2 different browsers where one has accept-language = tr and the other one en.