• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

Having both English and Arabic number in jsp

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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...
 
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Why can't you try messaage properties file to get the values in Arabic?
 
May Moon
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic