This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Arabic font and display style in JSP & PDF reports

 
Gunasekaran Gajendran
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Every one:

I want to develop a spring based web application that should support English and Arabic.

Please advise me how to develop the JSP and PDF reports.

Thanks
Guna
 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
 
Gunasekaran Gajendran
Greenhorn
Posts: 5
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Thanks Bill,

Please suggest about storing/displaying arabic fonts in database and PDF/Excel Report.

Also,

which is best way to handle the JSP that should develop two jsp pages for English and Arabic. Because Arabic display style is right to left in the page content


 
Bill Gorder
Bartender
Posts: 1682
7
Android IntelliJ IDE Linux Mac OS X Spring
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out Apache Tiles. You will need different layout based on localization. Spring has a tiles view resolver.

http://tiles.apache.org/tutorial/advanced/l10n.html

Messages or text that need to be displayed in different languages should be put in the properties files as was described in my previous link, not in the database. I don't know anything about how you are generating your PDF or Excel reports but its not Spring related so I am afraid I cannot help you there beyond the fact that Spring can read in any of the messages you have by a provided locale. These can be used in your report generation as well (It is not just restricted to JSP's)

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