Re: Action bean cannot get correct utf-8 character

2017-12-18 Thread Yasser Zamani
On 12/19/2017 1:38 AM, Emi wrote: > Value entered é in jsp > > > (3) Action bean get value:   é. > > > Can someone let me know what config is wrong/missing please? Have you checked your container (e.g. tomcat, jetty, etc) config? for example in tomcat, add "URIEncoding="UTF-8"

Action bean cannot get correct utf-8 character

2017-12-18 Thread Emi
Hello, For struts2.5.14.1, I have an issue with utf-8 encoding (jsp submit to action class; bean get wrong character). (1) web.xml *.jsp UTF-8 set character encoding setCharacterEncodingFilter SetCharacterEncodingFilter encoding UTF-8

Re: java.lang.ClassCastException: org.apache.struts2.dispatcher.mapper.ActionMapping

2017-12-18 Thread Yasser Zamani
On 12/18/2017 8:33 PM, Prasanth Pasala wrote: > Added it to Struts JIRA (WW-4904) Thank you very much for your time and report! > If I set the struts.actionMapping attribute to null it still causes the > class cast exception. What I have seen is that after setting it to null if > you call >

Re: java.lang.ClassCastException: org.apache.struts2.dispatcher.mapper.ActionMapping

2017-12-18 Thread Prasanth Pasala
Added it to Struts JIRA (WW-4904) If I set the struts.actionMapping attribute to null it still causes the class cast exception. What I have seen is that after setting it to null if you call getAttribute you would still get the old ActionMapping object, not sure how that is possible. Thanks,