aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes AJAX-I18N-Struts Query Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "AJAX-I18N-Struts Query" Watch "AJAX-I18N-Struts Query" New topic
Author

AJAX-I18N-Struts Query

Niranjan Deshpande
Ranch Hand

Joined: Oct 16, 2005
Posts: 1277
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..


SCJP 1.4 - 95% [ My Story ] - SCWCD 1.4 - 91% [ My Story ]
Performance is a compulsion, not a option, if my existence is to be justified.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
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
 
subject: AJAX-I18N-Struts Query