Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

LookUpDispatchAction problem with 'bestätigen' button name - SOLVED  RSS feed

Julian Saunders
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
added request.setCharacterEncoding("UTF-8"); near the top of the security filter


We've got a big problem with Struts 1.2 internationalization.

When we change the Locale to German the Confirm button is called bestätigen.

The ä character is not getting converted properly by Struts and we get the error 'HTTP Status 400 - Request[/saveR****] does not contain handler parameter named actionMethod'

The line in the jsp is :
<input type="submit" name="actionMethod" value="bestätigen" class="button" id="button">

We did fix a problem where in the View Source it was converting the ä char to 2 more special chars. Everything looks ok now, but behind the scenes Struts is translating the button label wrong.

We have tried adding enctype="application/x-www-form-urlencoded" on the html:form that is submitted, but it made no difference.

Please can you help me if you have come across this problem before.

Thank you

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!