jQuery in Action, 3rd edition
The moose likes Struts and the fly likes Struts, internationalization, and iframes Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts, internationalization, and iframes" Watch "Struts, internationalization, and iframes" New topic

Struts, internationalization, and iframes

Abhi Agar

Joined: Jun 15, 2010
Posts: 26

We are using iframes in our web-app based on struts 1.3.8.
Now, we want to incorporate internationalization.
We included a separate file for ApplicationResources_hi.properties file.
This way we are having Hindi support, along with english. It works fine.

The problem comes, when we are using iframes. Internationalization content doesn't go there. the hindi text comes as "???".

It seems the Struts gives only ANSI encoded text to jsp or html pages refernced inside iframes or maybe the server! Becuase when I made a random iframe, trying to fit in hindi in it forcefully, I was successful. That means, there is some problem at the server side.

See, what you all have to say. It is disgusting!

It's the belief in the power of your dreams that counts! (SCJP 5.0, SCWCD 5.0)
I agree. Here's the link: http://aspose.com/file-tools
subject: Struts, internationalization, and iframes
It's not a secret anymore!