Ok, then you can filter what comes from your  ActionServlet.
You don't "filter properties", but requests and response.
You tell to the actionservlet that all the requests are from iso-8859-9
forms.
In alternative you might convert your file with native2ascii tool

I found something that might be of interest for you here:
http://www.anassina.com/struts/i18n/i18n.html

-----Messaggio originale-----
Da: Ramil Mirhasanov [mailto:[EMAIL PROTECTED] 
Inviato: marted́ 18 maggio 2004 15.03
A: Struts Users Mailing List
Oggetto: Re: Filtering ApplicationResources.properties file

Andrea,
Content type of the pages is ok it is  iso-8859-9,
but when i use <html:errors/>
tag to display my errors,
some characters are not properly displayed.
Maybe there is a way to filter the strut tags to accept requests in given
character encoding??
or must I somehow filter the encoding of .properties file??

----- Original Message -----
From: "Andrea M." <[EMAIL PROTECTED]>
To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
Sent: Tuesday, May 18, 2004 3:47 PM
Subject: R: Filtering ApplicationResources.properties file


> Ramil
> I don't think you need to filter your properties
> You display your errormessages thru your jsps, so Having iso-8850-9
encoding
> set in your jsps should be enough
>
>
> -----Messaggio originale-----
> Da: Ramil Mirhasanov [mailto:[EMAIL PROTECTED]
> Inviato: marted́ 18 maggio 2004 14.40
> A: Struts Users Mailing List
> Oggetto: Re: Filtering ApplicationResources.properties file
>
> Andrea,
> I need that error messages are displayed properly in iso-8859-9 encoding,
> as all my classes and jsps.
> My error messages are stored in ApplicationResources.properties file.
>
> I will be gratefull if you help!
> Ramil
> ----- Original Message -----
> From: "Andrea M." <[EMAIL PROTECTED]>
> To: "'Struts Users Mailing List'" <[EMAIL PROTECTED]>
> Sent: Tuesday, May 18, 2004 3:22 PM
> Subject: R: Filtering ApplicationResources.properties file
>
>
> > Hi Ramil
> > I don't quite understand what you are trying to achieve
> > Why should you want to filter properties?
> >
> >
> >
> > -----Messaggio originale-----
> > Da: Ramil Mirhasanov [mailto:[EMAIL PROTECTED]
> > Inviato: marted́ 18 maggio 2004 12.46
> > A: Struts Users Mailing List
> > Oggetto: Filtering ApplicationResources.properties file
> >
> > Hi,
> > I want to ask you,
> > how is it possible to create mapping for filter and *.properties??
> >
> > So that character encoding filter would apply for
> > ApplicationResources.properties file.
> >
> > I have allready done filtering for Actions, by modifiying web.xml:
> >
> >   <filter-mapping>
> >     <filter-name>Set Character Encoding</filter-name>
> >     <servlet-name>action</servlet-name>
> >   </filter-mapping>
> >
> > My ApplicationResources.properties file is in WEB-INF/classes
> >
> > Thank you in advance!
> > Regards,
> > Ramil
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>


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


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

Reply via email to