File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

AJAX-I18N-Struts Query

 
Niranjan Deshpande
Ranch Hand
Posts: 1277
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I need to fetch table data using ajax.

But the component labels, col. labels in the table header and rows need to be displayed as per the user's locale/preferred non-english language (i18n).

currently the struts bean:message tags serve the purpose

Once ajax is employed i will be getting data in string format, but I am not sure how to handle the i18n part of the component labels.

..any way to do this..
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Set the proper character encoding headers with the server response.

You need to do the i18n on the server.

Eric
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic