• 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

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

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic