1 Reply Latest reply on Jun 21, 2006 6:38 AM by p k

    helloworldipc example encoding problem

    p k Newbie


      i tried the helloworldipc portlet and the communication between the portlets works fine. But if i type in special characters in portlet A of the example, like german umlauts, i get strange characters in the listening portlet B. I started to debug the example and found out, that the listener method of portlet B holds the correct parameter representation of the umlauts in the event object. But the the following processAction method of portlet B receives a wrong parameter with strange characters.

      Why does the encoding change between the onEvent method of the Listener and the processAction method of portlet B? How can i set the right encoding before the processAction method receives the event? I read about servlet filters in previous posts which can fix the encoding issue. Can i use a filter in this situation?

      I would be grateful for any information.