• 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
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

s:submit key 's i18n problem

 
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
in struts2

if i use
<s:text name="key.update" /> to get value from message properties for german characters "ä,ö,ü" , it works without problem
<s:submit kez="key.update" /> to get value from message properties for german characters "ä,ö,ü" , it could not display correctly
<sx:submit kez="key.update" /> to get value from message properties for german characters "ä,ö,ü" , it works without problem

above test case all works on same envoirment (charSet=UTF-8, pageEncoding=UTF-8)
what is the reason?

could I assign <s:text name="key.update" /> to a variable , then give this variable to s:submit 's label ?
 
Just let me do the talking. Ahem ... so ... you see ... we have this tiny ad...
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic