JSP with non-English characters
Posted on 2011-10-20
In DB table , I have I have 3 column
project_id, project_name_english , project_name_japanese
I have records in these columns.
In JSP, I display records from project_name_english column by default.
Now, I want if my user clicks on "japanese" link on my JSP , I want to display japanese column value.
I also want if my logged user's language is "japanese" , then my page should display in japanese.
What is the best approach I can think here ?
I'm worried about conversion of language.
I'm using JSP, Servlet and Struts 1.3 mix.