aspose file tools*
The moose likes Struts and the fly likes LookUpDispatchAction problem with 'bestätigen' button name - SOLVED Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookUpDispatchAction problem with Watch "LookUpDispatchAction problem with New topic
Author

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

Julian Saunders
Greenhorn

Joined: Jan 29, 2009
Posts: 1
SOLVED ALREADY
added request.setCharacterEncoding("UTF-8"); near the top of the security filter
http://www.mail-archive.com/struts-user@jakarta.apache.org/msg79130.html


Hi,

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

 
It is sorta covered in the JavaRanch Style Guide.
 
subject: LookUpDispatchAction problem with 'bestätigen' button name - SOLVED