HI at all,
i have a strange behavior using SpringWF....i already developed some web application using SWF and Spring, and never before now i saw it.
Well, i've usually form, with some field...particularly one field contains a regular expression definition.
I fill it with following content: ".*אטלעש.*" or rather a reg exp that mathes any characters sequence that contains in the middle my specific string "אטלעש".
The problem i get is... when i submit the form to the server, the previous field is converted with some encoding different from my expected encoding, that is UTF-8.
I debugged SWF forest, stopping into
here I noticed that my filled form fields are mapped into requestParameterMap in the form [field_name -> value] and the value corresponding to reg exp field is ['regexp_object' -> 'ֳ*ֳ*ֳ*ֳ*'].
Is this correct ?
I debugged CharacterEncodingFilter class, stopping into
having the same result, field value converted into another encoding, i thing ISO8859 or something..
protected void doFilterInternal(....)
Note that, my jsp has UTF-8 econding set and my application contains a filter that transform all encoding in UTF-8.
For clarity follow some definition:
Please help me, i'm in trouble...i dont know why of this behavior is the first time i get it, maybe could be a bug or my inesperience.
<?xml version="1.0" encoding="UTF-8" ?>
<%@ page language="java" contentType="text/html; charset=UTF-8"
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
web flow definition
<start-state idref="enter-sw-add-flow" />
<view-state id="enter-sw-add-flow" view="addSw">
<action bean="addSWAction" method="setupForm" />
<transition on="cancel" to="finish" />
<transition on="save" to="aSW">
<action bean="SWAction" method="bindAndValidate" />
TnX in advance,