----------------------------------------------------------------
BEFORE YOU POST, search the faq at <http://java.apache.org/faq/>
WHEN YOU POST, include all relevant version numbers, log files,
and configuration files. Don't make us guess your problem!!!
----------------------------------------------------------------
Hi,
| out.write("<option value='YUNSA'>YÜNSA</option>");
|
| After a special time of option value
| response.addCookie(key, value) doesn't work.
You've to send cookies before any output to the output stream since
cookies are given in the response header, and thus, no body data should
be written before. The fact that you may generate some output and it still
works is a buffer issue, but the only save way to set cookies is to do it
_before_ any servlet generated output (Maybe you've to buffer your output
in a StringBuffer, or better, a ByteArrayOutputStream).
Hope this helps,
-hen
--
--------------------------------------------------------------
Please read the FAQ! <http://java.apache.org/faq/>
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html>
Problems?: [EMAIL PROTECTED]