This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

s:submit key 's i18n problem

 
walter wang
Ranch Hand
Posts: 159
  • Mark post as helpful
  • send pies
  • 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 ?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic