yuryx wrote:

> Hi folks!
>
> Is there a way to change default setting for form-encoding parameter? 
> Now I have to use param1=<xsp-request:parameter name="test" 
> form-encoding="KOI8-R"/> for each parameter. Is there a way to set it 
> somewhere in sitemap.xmap or in another place?



Try SetCharacterEncodingAction.java, add it as the very first step in 
the pipeline. It has to be called before any request.getParameter() 
calls. Example:

<map:pipeline>
  <map:act type="set-encoding">
  <map:match>
  ...
  </map:match>
  ...
  </map:act>
</map:pipeline>


Vadim



---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Reply via email to