File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

s:submit key 's i18n problem

 
walter wang
Ranch Hand
Posts: 159
  • 0
  • 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 ?
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic