File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
LookUpDispatchAction problem with 'bestätigen' button name - SOLVED
Joined: Jan 29, 2009
May 26, 2011 07:45:05
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.
Don't get me started about those stupid
subject: LookUpDispatchAction problem with 'bestätigen' button name - SOLVED
one form, three actions?
Passing Atrribute Object From Jsp To Action
Converting to Upper Case
Long pressed jbuttons
JSF action and action listener method execution time.
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013