Hi Lakshman,

I tried the same by writing two simple JSPs it worked as expected. I tried
setting the encoding as you suggested that didn't work either. The problem
is only seen with JSPs that are exposed from a UI bundle.


Thanks,

Farasath Ahamed
Software Engineer, WSO2 Inc.; http://wso2.com
Mobile: +94777603866
Blog: blog.farazath.com
Twitter: @farazath619 <https://twitter.com/farazath619>
<http://wso2.com/signature>



On Fri, Jul 29, 2016 at 3:07 PM, Lakshman Udayakantha <lakshm...@wso2.com>
wrote:

> Hi Farasath,
>
> I sent a request from a UTF-8 encoded form to a JSP page both from 4.4.5
> kernel and 4.4.7 kernel and I got UTF-8 encoded text in JSP end without any
> issue in both cases. BTW I have set following property in JSP before
> reading request parameters
>
> request.setCharacterEncoding("UTF-8");
>
> Could you check by setting that too?
>
> Thanks
>
> On Tue, Jul 26, 2016 at 11:58 AM, Farasath Ahamed <farasa...@wso2.com>
> wrote:
>
>> + Kishanthan, Johann
>>
>> Farasath Ahamed
>> Software Engineer, WSO2 Inc.; http://wso2.com
>> Mobile: +94777603866
>> Blog: blog.farazath.com
>> Twitter: @farazath619 <https://twitter.com/farazath619>
>> <http://wso2.com/signature>
>>
>>
>>
>> On Tue, Jul 26, 2016 at 11:22 AM, Farasath Ahamed <farasa...@wso2.com>
>> wrote:
>>
>>> Hi,
>>>
>>> I am sending some UTF-8 encoded texts from a form to a JSP(ajax
>>> processor). In the JSP I read the request parameters using,
>>>
>>> String emailSubject = request.getParameter("emailSubject");
>>> String emailBody = request.getParameter("emailBody");
>>> String emailFooter = request.getParameter("emailFooter");
>>>
>>> This scenario works fine with IS 5.3.0-M1 which is based on 4.4.5
>>> kernel. But when I run the same code without any changes on IS 5.3.0-M3
>>> which is based on 4.4.7 encoding doesn't seem to work.
>>>
>>> Appreciate your help to find the root cause.
>>>
>>>
>>> Thanks,
>>> Farasath Ahamed
>>> Software Engineer, WSO2 Inc.; http://wso2.com
>>> Mobile: +94777603866
>>> Blog: blog.farazath.com
>>> Twitter: @farazath619 <https://twitter.com/farazath619>
>>> <http://wso2.com/signature>
>>>
>>>
>>>
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Lakshman Udayakantha
> WSO2 Inc. www.wso2.com
> lean.enterprise.middleware
> Mobile: *0717429601*
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to