Meaningless Drivel is fun!*
The moose likes JSP and the fly likes Having both English and Arabic number in jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Having both English and Arabic number in jsp" Watch "Having both English and Arabic number in jsp" New topic
Author

Having both English and Arabic number in jsp

May Moon
Greenhorn

Joined: Jun 28, 2010
Posts: 2
Hi
I want to print a jsp page. This jsp should print some numbers in English and some in Arabic. How can I do?

I use Liferay 5.2.3 , JSR 168.

I tried pageEncoding attribute , charset to UTF-8, Windows-1256,Cp1252 , lang="AR-SA" , but no one helps me.

Waiting...
Mukhi Vla
Ranch Hand

Joined: Apr 22, 2010
Posts: 50
Why can't you try messaage properties file to get the values in Arabic?
May Moon
Greenhorn

Joined: Jun 28, 2010
Posts: 2
Since it's not a text. it's number. and it's dynamic number.
Assume I want to have ${param1} in Arabic, while ${param2} in English in just one JSP.
param1 and 2 can have different value( it's dynamic).

Can you help me in this issue?

Thanks
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Having both English and Arabic number in jsp
 
Similar Threads
pageEncoding="UTF-8" in jsp
Strange behavior of the JVM related to Arabization(Localization)
excel doest it support arabic language
Dynamically convert english numbers to arabic in jsp
translate english language to arabic