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
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
Similar Threads
Internationalization in Struts
naming buttons with 2 or more labels- internalization
Internationalization in struts
Internationalization ans Struts
Reading hindi text from excel file and getting its corresponding unicode