Java Mailing List Archive

http://www.gg3721.com/

Home » Struts Users Mailing List »

ExecuteAndWaitInterceptor encoding problem

Leonidas Papadakis

2008-09-15

Replies: Find Java Web Hosting

Author LoginPost Reply
Hi there,

i have implemented the classic execute and wait interceptor (struts2)
scenario following the online example. The xml code :

<action name="MyAction" class="MyAction">
       <interceptor-ref name="defaultStack"/>
       <interceptor-ref name="execAndWait"/>
       <result name="wait"
type="dispatcher">longRunningAction-wait.jsp</result>
       <result name="success" type="freemarker">success.ftl</result>
        ....
        ....
</action>


The problem is that when longRunningAction-wait.jsp is parsed and shown
at the browser the fields have wrong encoding, i.e. instead of utf8 it
returns something strange. I have set debug at my class through eclipse
and the field gets wrong encoding. I do not have this problem in my
other actions that do not have the execureandwait interceptor.

Does anyone have any idea on how to overcome this ? Is it a bug ?

Thanks, i appreciate your replies.

Regards,

Leon

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 gg3721.com - Jax Systems, LLC, U.S.A.