Dolda2000 GitWeb
/
jsvc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Always close the output stream after a request has completed.
[jsvc.git]
/
src
/
dolda
/
jsvc
/
j2ee
/
J2eeRequest.java
diff --git
a/src/dolda/jsvc/j2ee/J2eeRequest.java
b/src/dolda/jsvc/j2ee/J2eeRequest.java
index
a5e7518
..
9676c46
100644
(file)
--- a/
src/dolda/jsvc/j2ee/J2eeRequest.java
+++ b/
src/dolda/jsvc/j2ee/J2eeRequest.java
@@
-20,12
+20,6
@@
public class J2eeRequest extends ResponseBuffer {
this.cfg = cfg;
this.req = req;
this.resp = resp;
this.cfg = cfg;
this.req = req;
this.resp = resp;
- try {
- req.setCharacterEncoding("UTF-8");
- resp.setCharacterEncoding("UTF-8");
- } catch(UnsupportedEncodingException e) {
- throw(new AssertionError(e));
- }
{
String host = req.getHeader("Host");
if((host == null) || (host.length() < 1))
{
String host = req.getHeader("Host");
if((host == null) || (host.length() < 1))