This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
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 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:
subject: Struts, internationalization, and iframes
jQuery in Action, 3rd edition