This is my first time of using this forum. So if there is anything mistake or misunderstanding, please teach me everybody.
I am using struts2 framework for my project .
What I want to do is , I want to make client side validation using jquery.
Want to show error message in japanese language , or english according to user choice.
I already done this project with message properties. It was successful.
But Now is want to use jquery for client side validation.
Now my problem is message is not showing with English language.
If I choose english language in login page (first page )then alert is showing .. en 名前 , if I choose japanese language in login then alert is show jp 名前 .
When I submit, only error message 名前is showing in both english or japanese page.
Please format your code using the "Code" tags. There is a bunch of FAQs on this site on how to make posts readable.
Joined: Mar 24, 2005
Can you look at the html source on the page in error and see which <script> actually ended up there? Perhaps your scriptlet is not doing the right thing. It may be helpful to print out what the result of this call actually is :
subject: How to access java script file from jsp page