Multi Lingual Support For JSP Page

Hi All,

My first page contains links to few foreign languages.

When i click on a link, the clicked page and all the other pages should be displayed in that language.

Currently, Iam implementing this using query string and jstl bundles.But, the problem is i have to write bundle for all the pages in all the languages

Is there any other way, to implement the same without using sessions and query strings?

Thanks In Advance,

Anupama M

[476 byte] By [AnupamaMa] at [2007-11-27 0:51:10]
# 1
> Is there any other way, to implement the> same without using sessions and query strings?Yes use MVC design pattern, take a look at Front Controller: http://java.sun.com/blueprints/corej2eepatterns/Patterns/FrontController.html
appy77a at 2007-7-11 23:21:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Thanks for the link.<fmt:setLocale value="${loc}" scope="session" />solved my problem.Is this approach a good one?Anupama M
AnupamaMa at 2007-7-11 23:21:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 3
That's JSTL , yes JSTL is better than writing scriptlets in JSP. The front controller is an overall design pattern.
appy77a at 2007-7-11 23:21:50 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...