When a response to the browser is in UTF-8 encoding form responses from said
page are giving UTF-8 characters when req.getParameter is called. i.e.
instead of getting é, I get the UTF-8 encoding é returned to our servlet.
Surely the getParameter method should return é as it does with other
try this code, Dave.
String str = new String(request.getParameter(key).getBytes(ISO-8859-1), UTF-8);
-Original Message-
From: Oxley, David [mailto:[EMAIL PROTECTED]
Sent: Tuesday, March 04, 2003 5:30 PM
To: '[EMAIL PROTECTED]'
Subject: UTF-8 characters
When a response to the browser
Cheers,
Worked a treat. Should this code be done automatically by Tomcat?
Dave.
-Original Message-
From: Kent Degrano [mailto:[EMAIL PROTECTED]
Sent: 04 March 2003 09:59
To: Tomcat Developers List
Subject: RE: UTF-8 characters
try this code, Dave.
String str = new
This email is autogenerated from the output from:
http://cvs.apache.org/builds/gump/2003-03-04/jakarta-tomcat-5.html
Buildfile: build.xml
prepare-release:
[mkdir] Created dir:
I plan to tag 4.1.22 later this week.
The idea is to allow getting some reports on the stability of 4.1.21,
and port the last JSPC patch from TC 5 (for mangling).
And then we'll have our next stable release for 4.1.x :)
Remy
-
Hello,
I'm trying the 'packaged jsp' of jspc. And I hope I understand it well.
Using ant 1.5.2 and Tomcat 4.1.21:
jspcsrcdir=${dstdir.home}
destdir=${tempdir.home}/jspc/java
uriroot=${dstdir.home}
classpath refid=local.classpath /
/jspc
javac
larryi 2003/03/04 06:46:46
Modified:jasper2 build.xml
Log:
Fix the dist target. It's looking like Gump will need it.
Revision ChangesPath
1.21 +1 -1 jakarta-tomcat-jasper/jasper2/build.xml
Index: build.xml
larryi 2003/03/04 06:47:41
Modified:jasper2 Tag: tomcat_4_branch build.xml
Log:
Port patch from HEAD for dist target.
Revision ChangesPath
No revision
No revision
1.7.2.2 +1 -1
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17638.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
remm2003/03/04 08:15:26
Modified:.RELEASE-NOTES-4.1.txt
Log:
- No longer beta.
Revision ChangesPath
1.59 +1 -11 jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt
Index: RELEASE-NOTES-4.1.txt
I have a bodytag that extends BodyTagSupport
If I call that tag without a body the doAfterBody() method never gets
invoked.
ie
tag:test attr1=1/ does not work but
tag:test attr1=1!-- some comment here --/tag:test does work
tag:test attr1=1/tag:test does not work
tag:test attr1=1 /tag:test
Hello all,
I would like to know, which of the following modules do you recommend as
Apache-Tomcat connector, w.r.to the criteria that I have mentioned below:
1. mod_webapp (It seems that this module is not active with in Tomcat
community and not actively developed by the dev team for various
remm2003/03/04 09:14:47
Added: coyote/src/java/org/apache/coyote/tomcat4 Tag: coyote_10
LocalStrings_ja.properties
coyote/src/java/org/apache/coyote/tomcat5 Tag: coyote_10
LocalStrings_ja.properties
Log:
- Add some
remm2003/03/04 09:15:28
Added: http11/src/java/org/apache/coyote/http11 Tag: coyote_10
LocalStrings_ja.properties
Log:
- Add some Japanese translations contributed
by Kazuhiro Kazama kazama at ingrid.org
Revision ChangesPath
No
remm2003/03/04 09:19:55
Added: util/java/org/apache/tomcat/util/net/res Tag: coyote_10
LocalStrings_ja.properties
Log:
- Add some Japanese translations contributed
by Kazuhiro Kazama kazama at ingrid.org
Revision ChangesPath
No
+1 to that
Original Message
From: Oxley, David [EMAIL PROTECTED]
Sent: 2003-03-04
To: 'Tomcat Developers List' [EMAIL PROTECTED]
Subject: RE: UTF-8 characters
Cheers,
Worked a treat. Should this code be done automatically by Tomcat?
Dave.
-Original Message-
From: Kent
remm2003/03/04 09:25:30
Modified:catalina/src/share/org/apache/catalina/authenticator
LocalStrings_ja.properties
catalina/src/share/org/apache/catalina/core
LocalStrings_ja.properties
remm2003/03/04 09:26:32
Added: coyote/src/java/org/apache/coyote/tomcat4
LocalStrings_ja.properties
coyote/src/java/org/apache/coyote/tomcat5
LocalStrings_ja.properties
Log:
- Add some Japanese translations
remm2003/03/04 09:27:30
Added: http11/src/java/org/apache/coyote/http11
LocalStrings_ja.properties
Log:
- Add some Japanese translations contributed
by Kazuhiro Kazama kazama at ingrid.org
Revision ChangesPath
1.2 +33 -0
remm2003/03/04 09:29:30
Added: jk/java/org/apache/ajp/tomcat4 LocalStrings_ja.properties
Log:
- Add some Japanese translations contributed
by Kazuhiro Kazama kazama at ingrid.org
Revision ChangesPath
1.2 +22 -0
remm2003/03/04 09:29:49
Modified:naming/src/org/apache/naming/res LocalStrings_ja.properties
Log:
- Add some Japanese translations contributed
by Kazuhiro Kazama kazama at ingrid.org
Revision ChangesPath
1.2 +23 -2
remm2003/03/04 09:30:13
Added: util/java/org/apache/tomcat/util/net/res
LocalStrings_ja.properties
Log:
- Add some Japanese translations contributed
by Kazuhiro Kazama kazama at ingrid.org
Revision ChangesPath
1.2 +5 -0
remm2003/03/04 09:32:39
Modified:jasper2/src/share/org/apache/jasper/resources
messages_ja.properties
Log:
- Add some Japanese translations contributed
by Kazuhiro Kazama kazama at ingrid.org
Revision ChangesPath
1.37 +161 -100
costin 2003/03/04 10:12:49
Modified:jk build.xml
Log:
Exclude jkmx if JMX is not present
Revision ChangesPath
1.65 +2 -2 jakarta-tomcat-connectors/jk/build.xml
Index: build.xml
===
costin 2003/03/04 10:14:35
Modified:jk/java/org/apache/jk/server JkMain.java
Log:
Add the class name - for easier config
Revision ChangesPath
1.35 +1 -0
jakarta-tomcat-connectors/jk/java/org/apache/jk/server/JkMain.java
Index: JkMain.java
costin 2003/03/04 10:20:36
Modified:util/java/org/apache/tomcat/util/net PoolTcpEndpoint.java
Log:
Reduce verbosity and add more info to the message
Revision ChangesPath
1.13 +7 -5
costin 2003/03/04 10:21:47
Modified:util/java/org/apache/tomcat/util/log CommonLogHandler.java
Log:
This may look like a stupid commit - but this is the only piece of jtc that
didn't compile with gcj compiler.
Revision ChangesPath
1.2 +13 -26
Remy Maucherat wrote:
I plan to tag 4.1.22 later this week.
The idea is to allow getting some reports on the stability of 4.1.21,
and port the last JSPC patch from TC 5 (for mangling).
And then we'll have our next stable release for 4.1.x :)
Remy
Thanks for the info and all the effort!
Am I the only one getting this somewhat annoying exceptions all over the
places when using the new coyote HTTP/1.1 connector ?
Happened on all 4.1.x coyote HTTP connectors...
Although it doesn't seem to be affecting sending response back to the
browser...
Any comment would be appreciated...
The actual exception when using 4.1.18 with j2sdk1.4.1_02:
2003-03-04 13:51:02 StandardWrapperValve[default]: Servlet.service() for
servlet default threw exception
java.net.SocketException: Software caused connection abort: socket write
error
at
amyroh 2003/03/04 12:35:14
Modified:.RELEASE-NOTES-4.1.txt
Log:
Fix minor spelling error.
Revision ChangesPath
1.60 +2 -2 jakarta-tomcat-4.0/RELEASE-NOTES-4.1.txt
Index: RELEASE-NOTES-4.1.txt
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17638.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16285.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
kinman 2003/03/04 14:23:48
Modified:jasper2/src/share/org/apache/jasper/compiler/tagplugin
TagPluginContext.java
jasper2/src/share/org/apache/jasper/tagplugins/jstl
When.java
Log:
- In PluginContext, use
luehe 2003/03/04 14:34:26
Modified:jasper2/src/share/org/apache/jasper/compiler Validator.java
Log:
Fixed regression when checking that no invalid named attributes are present
Revision ChangesPath
1.89 +4 -4
luehe 2003/03/04 14:41:13
Modified:jasper2/src/share/org/apache/jasper/compiler Validator.java
Log:
Fixed URI comparison when checking that no invalid XML-style attributes are present
Revision ChangesPath
1.90 +4 -4
It would be nice if Tomcat detected the encoding. I posted a similar
question with no response.
Here's how I think you should handle this.
// call before getting anything from the reqest
request.setCharacterEncoding(UTF-8);
Then all strings will be pulled as UTF-8 which is equivalent to the
costin 2003/03/04 15:55:35
Modified:jk/native2/common jk_channel_socket.c
Log:
Add graceful to channel - it's easier to config.
Revision ChangesPath
1.50 +5 -3 jakarta-tomcat-connectors/jk/native2/common/jk_channel_socket.c
Index: jk_channel_socket.c
costin 2003/03/04 15:56:37
Modified:jk/native2/common jk_channel_un.c
Log:
Added few visible attributes to channel_un
I still get some ocasional errors - can't reproduce it consistently, but
it happened twice in the last 3 days.
Revision ChangesPath
1.16 +27
costin 2003/03/04 15:58:30
Modified:jk/native2/common jk_config.c
Log:
Move the recently added code to mirror what happens on the java side ( i.e.
all mbeans are configured, then init is called on new ones ).
Now adding channels at runtime works fine - it was broken.
costin 2003/03/04 15:59:23
Modified:jk/native2/common jk_worker_ajp13.c
Log:
If the route is not set - default to the local name.
Revision ChangesPath
1.46 +6 -1 jakarta-tomcat-connectors/jk/native2/common/jk_worker_ajp13.c
Index: jk_worker_ajp13.c
costin 2003/03/04 16:00:24
Modified:jk/native2/common jk_uriEnv.c
Log:
Add a normal init method.
Adding uris at runtime is not as important ( and it will only work for the slower
config ), but for consistency.
Revision ChangesPath
1.44 +24 -2
costin 2003/03/04 16:00:52
Modified:jk/native2/common jk_mutex_thread.c
Log:
Set the state.
Revision ChangesPath
1.8 +8 -0 jakarta-tomcat-connectors/jk/native2/common/jk_mutex_thread.c
Index: jk_mutex_thread.c
costin 2003/03/04 16:01:49
Modified:jk/native2/common jk_endpoint.c
Log:
Set state.
Revision ChangesPath
1.24 +3 -1 jakarta-tomcat-connectors/jk/native2/common/jk_endpoint.c
Index: jk_endpoint.c
kinman 2003/03/04 17:32:45
Modified:jasper2/src/share/org/apache/jasper/compiler
TagPluginManager.java
Log:
- Oops! Forgot this one.
Revision ChangesPath
1.16 +7 -7
jfarcand2003/03/04 18:20:46
Modified:jsr154/src/share/javax/servlet ServletRequest.java
ServletRequestWrapper.java
Log:
Servlet 2.4 spec changes:
Adding the following methods in ServletRequest, SRV.14.2.16.1
jfarcand2003/03/04 18:31:47
Modified:coyote/src/java/org/apache/coyote Request.java
coyote/src/java/org/apache/coyote/tomcat5 CoyoteRequest.java
http11/src/java/org/apache/coyote/http11
Http11Processor.java
jfarcand2003/03/04 18:38:43
Modified:http11/src/java/org/apache/coyote/http11
Http11Processor.java
Log:
Oups. Do not remove that line.
Revision ChangesPath
1.60 +2 -1
I recently installed Tomcat on my machine and I'm trying to figure out why my SunONE
CE isn't
recognizing it. When I try to configure my internal webservers it won't let me select
8080. It
won't recognize it I guess.
Does anybody here have any experience using CE with Tomcat?
Barry
=
jfarcand2003/03/04 21:01:07
Modified:catalina/src/share/org/apache/catalina/core
StandardContext.java
Log:
When Tomcat is embedded, there are situations where appBase could be equals to null.
In that case, do not set the config file (or most important, do
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17656.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
51 matches
Mail list logo