2014-09-01 13:17 GMT+02:00 Miguel Almeida :
> I actually had ${answer} and it
> worked corretly. I had to change to the alternative due to
> an issue with a JSP page with a grouped view - somewhere in the code the
> variable #answer is probably being set differently, so with ${answer} I
> would ge
On Mon, 2014-09-01 at 10:20 +0200, Lukasz Lenart wrote:
> 2014-08-29 18:11 GMT+02:00 Miguel Almeida :
> > I had an issue recently with a download action not finding the
> > corresponding file and you might be able to help me with it. The
> > filename (on disk) was "Calendário" ("á" is the focus
2014-08-29 18:11 GMT+02:00 Miguel Almeida :
> I had an issue recently with a download action not finding the
> corresponding file and you might be able to help me with it. The
> filename (on disk) was "Calendário" ("á" is the focus here).
>
> I am using the following s:url (Calendário is within the
Español
<-- ¿no trabaja para ti ? -->
> Subject: S:url and s:param and character encoding
> From: mig...@almeida.at
> To: user@struts.apache.org
> Date: Fri
I had an issue recently with a download action not finding the
corresponding file and you might be able to help me with it. The
filename (on disk) was "Calendário" ("á" is the focus here).
I am using the following s:url (Calendário is within the variable
#answer):
Thank you very much.
This solved my problems.
Best Regards,
Rafael
-Ursprüngliche Nachricht-
Von: li wei [mailto:li.wei.linf...@gmail.com]
Gesendet: Donnerstag, 27. Januar 2011 04:22
An: Struts Users Mailing List
Betreff: Re: Problem with character encoding during redirect to another
I think this is not a struts issue.
are you using tomcat as your server?
you can try to set URIEncoding of Connector to "utf-8" in server.xml
(2011/01/26 23:45), Rafael Karbowski wrote:
Hi @ all,
I have a problem with the encoding of German umlauts. In the getter of the
source action they a
Hi @ all,
I have a problem with the encoding of German umlauts. In the getter of the
source action they are correct,
but the setter of the destination action sets bad encoded values. So far I
can´t find any solution for this problem.
It would be nice, if somebody has an idea how to fix it.
ssage sert à l'information seulement et n'aura
>pas n'importe quel effet légalement obligatoire. Étant donné que les email
>peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
>aucune responsabilité pour le contenu fourni.
>>
>>
>>
>>
ceci est interdite. Ce message sert à l'information seulement et n'aura
pas n'importe quel effet légalement obligatoire. Étant donné que les email
peuvent facilement être sujets à la manipulation, nous ne pouvons accepter
aucune responsabilité pour le contenu fourni.
>
>
>
être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Mon, 18 Oct 2010 12:05:56 +1100
> Subject: Character Encoding Error using new filters
> From: zo...@sparecreative.com
> To: user@struts.apache.org
>
> I have a
ld be overridden by [SiteMeshFilter].
>
> I suggest you to read source or docs of [SiteMeshFilter],
> check out if it changed CharacterEncoding and how to change the
> setting of it to use a correct encoding.
>
>
>
> 2010/10/18 Zoran Avtarovski :
>> I have a really
by [SiteMeshFilter].
I suggest you to read source or docs of [SiteMeshFilter],
check out if it changed CharacterEncoding and how to change the
setting of it to use a correct encoding.
2010/10/18 Zoran Avtarovski :
> I have a really strange character encoding error that is appearing whe
I have a really strange character encoding error that is appearing when I
attempt to change my struts2 filter configuration from:
struts-cleanup
org.apache.struts2.dispatcher.ActionContextCleanUp
struts
org.apache.struts2
ne pouvons accepter aucune responsabilité
pour le contenu fourni.
> Date: Tue, 6 Oct 2009 10:49:41 -0700
> From: tommy...@yahoo.com
> Subject: Re: Struts 1: character encoding
> To: user@struts.apache.org
>
> - Original Message
> > From: senderj
> > To:
- Original Message
> From: senderj
> To: user@struts.apache.org
> Sent: Tue, October 6, 2009 3:28:08 AM
> Subject: Struts 1: character encoding
>
>
> The components I use NetBean, Glassfish, Struts 1, EJB, Toplink, jdbc, MySQL.
> Basically what I want is to extr
changes done by the software components
I use (Struts? toplink? jdbc?), but don't know which one and I may be wrong.
If anybody has any idea on this problem please help.
--
View this message in context:
http://www.nabble.com/Struts-1%3A-character-encoding-tp25766281p25766281.html
Sent fr
t;> Thank you,
>>
>> Rich
>
> - Are the characters retrieved from the database correctly? (i.e. if you
> check the data you're sending to the textarea, is it right?)
>
> - What character encoding are you using to serve the page?
>
> - Do you have a @page dir
the ? get
saved in the db as ?.
Any ideas as to what is happening or how to fix it?
Thank you,
Rich
- Are the characters retrieved from the database correctly? (i.e. if you
check the data you're sending to the textarea, is it right?)
- What character encoding are you using to serve the
I have a form containing text areas. When I copy a bunch of character
data such as:
2öÂnJ1ÈÏúÄp8éÎdìåmðh4uæEÍÉieÔWán2ÅìbØÉÅÀ1JÎZÏôsC5LòÚAPúÜaÃÙPC5üÆCJWCOzùÙtÒQqùét
into the text are, it displays normally. When I save the data, the
database stores the characters properly, when the data returns t
I am working on I18N application.
To handle Http request and response in utf8 I have added following code in
my Actionform.
Is there way in struts to configure this for my complete application in
struts?
If it is normal servlet we can do this in init() method.
public void reset(A
is class as the struts.freemarker.manager.classname in
> struts.properties, it makes no difference - the output is garbled.
>
> Does anybody know why this might be the case?
>
> Thanks
>
> Jonny
>
>
--
View this message in context:
http://www.nabble.com/Character-en
content contained within this
transmission.> Date: Sat, 29 Dec 2007 08:23:01 -0800> From: [EMAIL PROTECTED]>
To: user@struts.apache.org> Subject: Character encoding problems with Struts 2
and Freemarker or Velocity> > > I am setting default_encoding=UTF-8 in
freemarker.proper
ext:
http://www.nabble.com/Character-encoding-problems-with-Struts-2-and-Freemarker-or-Velocity-tp14538951p14538951.html
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROT
several days of
playing around with a sandbox Struts application that worked, but our
webapp that didn't, we finally realized that the ORDER of the filters
matters (duh...). We put the character encoding filter first in our
chain and it fixed everything.
The problem was it was initially
So, for posterity, we finally got this working. After several days of
playing around with a sandbox Struts application that worked, but our
webapp that didn't, we finally realized that the ORDER of the filters
matters (duh...). We put the character encoding filter first in our
chain a
f our web forms...
Thanks for the link.
--adam
Ted Husted wrote:
On Nov 28, 2007 10:53 AM, Adam Gordon <[EMAIL PROTECTED]> wrote:
What about the use of a filter to set the character encoding? Is this
the only way to go for Struts?
I'd say so. It might be possible to add some
On Nov 28, 2007 10:53 AM, Adam Gordon <[EMAIL PROTECTED]> wrote:
> What about the use of a filter to set the character encoding? Is this
> the only way to go for Struts?
I'd say so. It might be possible to add something to the
ActionServlet, but the solution wouldn't be
Right, hence my last comment in the second paragraph... Incidentally, I
saw that web page yesterday and was the one who added the anonymous
posting about the URIEncoding attribute not appearing to do anything.
What about the use of a filter to set the character encoding? Is this
the only
Anyone know if there's a configuration parameter somewhere in Struts
1.2.9 that configures the requests to use UTF-8 character encoding?
Everything I've found on the web says that Tomcat uses ISO-8859-1 as the
default character encoding and that the "fix" is to add a filt
ngW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>
> iD8DBQFGBTHz9CaO5/Lv0PARAhBmAJ9tZwUR1Z0cR8tEBVbPgg05jlcSsQCgjyN+
> p7Ca211yjPSdh1QzQa7Z1Us=
> =9SFl
> -END PGP SIGNATURE-
>
> -----
>
n, ServletException
{
if(null == request.getCharacterEncoding())
{
request.setCharacterEncoding("UTF-8");
log.debug(this.getClass().getName() + ": Set request to "
+ request.getCharacterEncoding());
chain.doFilter(request, response);
}
}
If you are
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Riffla,
riffla wrote:
> Encoding set in:
>
> JSP Page directive
> Content inside Html Meta tag
> And there is also a charsetFilter class used (see below)
This last one is used for overriding /request/ encoding, right?
>
> PARAMETER_ENCODING
> UTF
s de caractère privé ou confidentiel. Si vous n'êtes pas le
> destinataire de ce document, nous vous signalons qu'il est strictement
> interdit de le diffuser, de le distribuer ou de le reproduire.
> - Original Message -
> From: "riffla" <[EMAIL PROTECTED]
signalons qu'il est strictement interdit
de le diffuser, de le distribuer ou de le reproduire.
- Original Message -
From: "riffla" <[EMAIL PROTECTED]>
To:
Sent: Friday, March 23, 2007 9:42 PM
Subject: Re: Character encoding...
>
> Encoding set in:
>
> JS
Encoding set in:
JSP Page directive
Content inside Html Meta tag
And there is also a charsetFilter class used (see below)
Struts-config.xml contains:
===
===
web.xml contains:
===
Character Encoding
se.telia.kontaktamig.web.util.CharsetFilter
Character Encoding
/*
PARAMETER_ENCODING
relevant. Only the character encoding is.
Where do you set the character encoding of your pages?
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGBEen9CaO5/Lv0PARAg3FAJ950MJ6Y8XIqGmysRxtphNCETWzogCgq57d
pZ
d ö with '?'
>
> Where do you see the '?'? In a web page? In a log file? In the results
> of a database query from a command-line tool? It's possible that your
> output isn't sensitive to the character encoding (for instance, a
> terminal
es my å,ä
> and ö with '?'
Where do you see the '?'? In a web page? In a log file? In the results
of a database query from a command-line tool? It's possible that your
output isn't sensitive to the character encoding (for instance, a
terminal window or log file).
>
es is set prior to any code in the
>> form class, so that you can't set the characterEncoding in the form class
>> (at, for example, the beginning of initialize() method), or...?
>
> Correct. You have to use a Filter to do this. Search the archives for
> "character enco
r...?
Correct. You have to use a Filter to do this. Search the archives for
"character encoding filter" and you should find a lot of information,
including the code for the filter itself (or at least a link to the code).
- -chris
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW
And I guess that the form bean attributes is set prior to any code in the
form class, so that you can't set the characterEncoding in the form class
(at, for example, the beginning of initialize() method), or...?
Joe Germuska wrote:
>
>>I had problem with character encoding in my w
>
> This is not used to directly set the response character encoding.
>
> I use a CharacterEncodingFilter to set encoding to UTF-8.
>
>
> In my experience, a CharacterEncodingFilter is used to control the request
> content type, not the response content type. That's
OK, a few more notes:
just to be clear,
I have specified struts.i18n.encoding=UTF-8.
This is not used to directly set the response character encoding.
I use a CharacterEncodingFilter to set encoding to UTF-8.
In my experience, a CharacterEncodingFilter is used to control the request
ntent-Type header
Elin
--
View this message in context:
http://www.nabble.com/Struts2%2C-tiles2-and-character-encoding-problem-tf3181491.html#a8845842
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsu
d in the next build?
Monitoring the response with fiddler shows that there is no content-type
header.
I use a tiles definition file and the insertAttribute tag to build the
tiles
result.
Elin
--
View this message in context:
http://www.nabble.com/Struts2%2C-tiles2-and-character-encoding-problem-t
-character-encoding-problem-tf3181491.html#a8841954
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
e.
Any ideas?
/Elin
--
View this message in context:
http://www.nabble.com/Struts2%2C-tiles2-and-character-encoding-problem-tf3181491.html#a8828883
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsub
-tiles2-and-character-encoding-problem-tf3181491.html#a8828883
Sent from the Struts - User mailing list archive at Nabble.com.
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
destroy the original
message without making a copy. Thank you.
- Original Message -
From: "Antonis Lebesis" <[EMAIL PROTECTED]>
To: "Martin Gainty" <[EMAIL PROTECTED]>
Cc: "Struts Users Mailing List"
Sent: Monday, May 29, 2006 8:14 PM
Subject: Re:
rtin Gainty"
<[EMAIL PROTECTED]>
Sent: Monday, May 29, 2006 7:26 PM
Subject: Re: multipart/form-data and character encoding
> Hello Martin,
> I tried your suggestion but there is a difference in my case: The
> enctype in my form's declaration is "multipart/form-da
; "Martin Gainty"
<[EMAIL PROTECTED]>
Sent: Monday, May 29, 2006 7:26 PM
Subject: Re: multipart/form-data and character encoding
Hello Martin,
I tried your suggestion but there is a difference in my case: The
enctype in my form's declaration is "multipart/form-data&q
}
>
> super.process(request, response);
> }
>
> To use this processor, just change the controller entry in
struts-config.xml
>
> []s
>
> Miguel
>
>
> On 5/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
> >
> > Good Afternoon Antonis
hange the controller entry in struts-config.xml
[]s
Miguel
On 5/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
>
> Good Afternoon Antonis-
>
> This character encoding issue has been addressed
> http://issues.apache.org/struts/browse/STR-2117 as follows
>
> Set your page to u
TED]> wrote:
Good Afternoon Antonis-
This character encoding issue has been addressed
http://issues.apache.org/struts/browse/STR-2117 as follows
Set your page to use correct character encoding
<%@ page ;contentType="text/html" charset=UTF-8"%>
Set form to use c
r entry in struts-config.xml
[]s
Miguel
On 5/29/06, Martin Gainty <[EMAIL PROTECTED]> wrote:
Good Afternoon Antonis-
This character encoding issue has been addressed
http://issues.apache.org/struts/browse/STR-2117 as follows
Set your page to use correct character encoding
<%@ page ...
Good Afternoon Antonis-
This character encoding issue has been addressed
http://issues.apache.org/struts/browse/STR-2117 as follows
Set your page to use correct character encoding
<%@ page ;contentType="text/html" charset=UTF-8"%>
Set form to use correct form enc
Hi,
I 've searched the archives but haven't found any solution to my
latest problem. I have with a input and a
input. The problem is that request.getCharacterEncoding() returns null
and the text input is considered to be in iso-8859-1 encoding. In the
corresponding ActionForm's reset(), I have a
Hi Dan,
Both are on Windows.
With best regards,
Anjishnu.
-Original Message-
From: Dan Jas [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 21, 2006 9:45 PM
To: Struts Users Mailing List
Subject: Re: Problem with character encoding.
Are you using WSAD on Windows and Tomcat on Unix/Linux
Anjishnu Bandyopadhyay wrote:
> I am generating a MS Word document through a JSP, by setting the JSP's
> content type as "application/msword;".
>
I really don't understand why you persist in thinking that _calling_
something a Word document _makes_ it a Word document. As I have stated
several t
Are you using WSAD on Windows and Tomcat on Unix/Linux?
- Original Message -
From: "Anjishnu Bandyopadhyay" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List"
Sent: Tuesday, March 21, 2006 5:51 AM
Subject: Problem with character encoding.
Hi all,
Anjishnu Bandyopadhyay ha scritto:
Hi all,
I am generating a MS Word document through a JSP, by setting the JSP's
content type as "application/msword;".
Are you using a particular library to generate the file? Anyway
generating an MS Word file through JSP seems odd to me...
The ".doc" t
Hi all,
I am generating a MS Word document through a JSP, by setting the JSP's
content type as "application/msword;".
The ".doc" that is generated contains accentuated French characters
(special French characters).
I use Websphere (WSAD) to develop the code, but use Tomcat server for
deploy
At 1:44 PM +0800 10/18/05, Tony Lu wrote:
I need to create an internationalized Web application by struts,mysql and
hibernate.
Each component Character Encoding is utf8.
It runs well when I run a pure servlet to save 'Chinese Character' to
database and load it from database.
]> wrote:
>
> Hi,
> In the struts action you are setting character encoding on 'request'
> object req ,it however needs to be on 'response' ie res.
>
> Deepesh.
>
>
> public class TestAction extends Action{
> public ActionForward execute(ActionMapp
Hi,
In the struts action you are setting character encoding on 'request'
object req ,it however needs to be on 'response' ie res.
Deepesh.
public class TestAction extends Action{
public ActionForward execute(ActionMapping mapping,
ActionForm form,
Ht
I need to create an internationalized Web application by struts,mysql and
hibernate.
Each component Character Encoding is utf8.
It runs well when I run a pure servlet to save 'Chinese Character' to
database and load it from database.
But when I implement it with struts action, the appli
I had problem with character encoding in my web application. I was trying to
display Polish characters using UTF-8 but data from forms was not getting in
proper format to the business layer. I managed to solve this by setting
filter which does request.setCharacterEncoding(encoding); But the
Hi,
I had problem with character encoding in my web application. I was trying to
display Polish characters using UTF-8 but data from forms was not getting in
proper format to the business layer. I managed to solve this by setting
filter which does request.setCharacterEncoding(encoding); But
I use a servlet filter to set the encoding before it reaches struts
souravm wrote:
Hi All,
I want to set the chracter encoding of incoming http request by using HttpServletRequest.setCharacterEncoding() api.
How do I do it using Struts 1.2.4 ? Does it provide any configuration parameter
to do th
Hi All,
I want to set the chracter encoding of incoming http request by using
HttpServletRequest.setCharacterEncoding() api.
How do I do it using Struts 1.2.4 ? Does it provide any configuration parameter
to do the same ? Or one has to subclass the RequestProcessor class to do the
same ? Or
J.Patterson Waltz III writes:
> Yep. That was it.
> I commented out the filter definition for ResponseOverrideFilter and
> everything displayed as expected.
> I then reinstated it, placing it *after* the
> SetCharacterEncodingFilter in web.xml, and all was still well.
Great!
> Really, really a
On 6 janv. 05, at 18:13, Guillaume Cottenceau wrote:
I also have another filter, the ResponseOverrideFilter used by
displaytag, which appears before the SetCharacterEncodingFilter in my
web.xml. I wonder if it could be interfering with the
SetCharacterEncodingFilter?
Yes, if it reads the request pa
27;été' URLencoded as UTF-8.
> >>
> >> So I'm still stumped. :-(
> >
> > But that's exactly what you want. The SetCharacterEncodingFilter
> > will set the character encoding of the HttpServletRequest before
> > data is retrieved from it, and when it
erEncodingFilter
will set the character encoding of the HttpServletRequest before
data is retrieved from it, and when it's retrieved it should be
correctly decoded. Are you sure the filter is up and running?
I agree that that encoding is what I want. It's just that it's not
getting d
J.Patterson Waltz III writes:
> Notice in the third line of the form data:
> &personTO.comments=%C3%A9t%C3%A9
> That's 'été' URLencoded as UTF-8.
>
> So I'm still stumped. :-(
But that's exactly what you want. The SetCharacterEncodingF
On 6 janv. 05, at 17:17, Guillaume Cottenceau wrote:
J.Patterson Waltz III writes:
On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote:
Now, I guess I'll just have to try using the character encoding
filter Guillaume recommended.
Ack! I'm about to pull my hair out over these encoding
J.Patterson Waltz III writes:
> On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote:
> >
> >
> > Now, I guess I'll just have to try using the character encoding
> > filter Guillaume recommended.
>
> Ack! I'm about to pull my hair ou
On 6 janv. 05, at 15:52, J.Patterson Waltz III wrote:
Now, I guess I'll just have to try using the character encoding filter
Guillaume recommended.
Ack! I'm about to pull my hair out over these encoding issues. I added
the SetCharacterEncodingFilter from the Tomcat 5 distribution
at: it displayed validation errors saying that
required form fields were missing (although they had been submitted
with complete information and were visible in the response returned by
the browser).
Now, I guess I'll just have to try using the character encoding filter
Guillaume rec
in article [EMAIL PROTECTED], Josh Cronemeyer at [EMAIL PROTECTED] wrote
on 4/01/05 18:02:
> J. Patterson Waltz III wrote:
>
>> Merci Guillaume,
>>
>> I had actually seen the references to the Filter solution in the comments of
>> Struts bug 16191 in Bugzilla:
>> http://issues.apache.org/bugzill
"J. Patterson Waltz III" writes:
> P.S. - I know how to view the headers of replies sent from the server to the
> browser, but am not sure how to get at those sent from the browser to the
> server, to make sure that they are indeed UTF-8. Any suggestions?
I usually temporarily modify the URL whe
J. Patterson Waltz III wrote:
Merci Guillaume,
I had actually seen the references to the Filter solution in the comments of
Struts bug 16191 in Bugzilla:
http://issues.apache.org/bugzilla/show_bug.cgi?id=16191
I will try that out and see if it improves my results.
I remain perplexed at what changes
Merci Guillaume,
I had actually seen the references to the Filter solution in the comments of
Struts bug 16191 in Bugzilla:
http://issues.apache.org/bugzilla/show_bug.cgi?id=16191
I will try that out and see if it improves my results.
I remain perplexed at what changes between versions 1.1 and 1
"J. Patterson Waltz III" writes:
> Hello,
>
> I recently upgraded a J2EE/Struts web application I'm working on to the
> 1.2.4 version of Struts, and ever since I made this change, I've been
> encountering a problem with the encoding of non-ascii character data
> submitted in forms. All my pages
Hello,
I recently upgraded a J2EE/Struts web application I'm working on to the
1.2.4 version of Struts, and ever since I made this change, I've been
encountering a problem with the encoding of non-ascii character data
submitted in forms. All my pages are set to use UTF-8 encoding (via a <%@
page p
> I have added an acceptCharset attribute to the FormTag.
> Should be available in the next nightly build - 22/07/2004
Hooray :) Thanks a lot, this is going to be very useful.
Carl-Eric
--
Antwort: Weil es das Lesen des Textes erschwert. | Carl-Eric Menzel
Frage : Warum ist das so schlimm?
Mailing List" <[EMAIL PROTECTED]>
Cc: "Larry Young" <[EMAIL PROTECTED]>
Sent: Wednesday, July 21, 2004 8:36 PM
Subject: Re[2]: character encoding
> > Carl-Eric,
>
> > Yes, I tried the charset on the form but found it didn't do any
good.
>
>
e page (and form) and you won't get UTF-8 data back.
This procedure worked fine on at least two major projects.
Regards,
Niclas
-Original Message-
From: Larry Young [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 21, 2004 9:39 PM
To: Struts Users Mailing List
Subject: Re: characte
\\-]+)(\\s*|;).*");
/**
* Grab the character encoding from the request, if not found, check the
* stored value. Finally, set the character encoding on the request
*
* @param context
* @param stored
* @throws FacesException
*/
protected void setCh
> Then I'm out of luck. That's the biggest problem with Strut's lack of
> support for the accept-charset attribute. *Most of the time* it works
> that if you send the response in UTF-8 the next request will come in
> as UTF-8 too. That's what I'm doing now - I send out only UTF-8 forms
> and assume
> Carl-Eric,
> Yes, I tried the charset on the form but found it didn't do any good.
> But what do you force the Encoding to in your Filter? How can you
> know with any certitude how the browser encoded the data values before
> sending it to you?? It probably works well if the
Carl-Eric,
Yes, I tried the charset on the form but found it didn't do any good.
But what do you force the Encoding to in your Filter? How can you
know with any certitude how the browser encoded the data values before
sending it to you?? It probably works well if the browser is
> I'd like to hear how others have solved this problem. I can see
> that one solution is to replace the RequestProcessor and hardcode the
> "setEncoding" on the Request to UTF-8, or subclass the whole
> ActionServlet. Are there any cleaner solutions? I can't believe I'm the
> only one
Hello,
I've run into a bit of a problem and I'd like to know how others
have solved it.
It's basically a character encoding issue. I post my struts-based
JSP page to the user, they enter some data, and then submit the page back
to my Action. The data they en
man, 19.07.2004 kl. 14.58 skrev Emmanouil Batsis:
> There this system property you can set but I can't remember it, it's
> used as the encoding to use when reading files...
>
> Anyway, I always edit my .jsp and .properties using UTF-8, then pass
> them through the native2ascii ant task during m
There this system property you can set but I can't remember it, it's
used as the encoding to use when reading files...
Anyway, I always edit my .jsp and .properties using UTF-8, then pass
them through the native2ascii ant task during my build. It's just a
wrapper for the same-named JDK binary;
sÃn, 18.07.2004 kl. 22.23 skrev Jason Lea:
> Olve SÃther Hansen wrote:
>
> >Now I am saying false things. I thought my baseLayout.jsp had this
> >entry.. It didn't.
> >
> >So it is enough specifying
> ><%@ page contentType="text/html; charset=UTF-8"%>
> >in the base tiles file if that architectur
Olve SÃther Hansen wrote:
Now I am saying false things. I thought my baseLayout.jsp had this
entry.. It didn't.
So it is enough specifying
<%@ page contentType="text/html; charset=UTF-8"%>
in the base tiles file if that architecture is used.
I think it that should work.
But I think I ran into
Now I am saying false things. I thought my baseLayout.jsp had this
entry.. It didn't.
So it is enough specifying
<%@ page contentType="text/html; charset=UTF-8"%>
in the base tiles file if that architecture is used.
--
Olve SÃther Hansen <[EMAIL PROTECTED]>
Intermedia/Aksis - Unifob AS
--
1 - 100 of 109 matches
Mail list logo