You have to set any cookies before sending any content. The
reason is because cookies appear in the HTTP header. If
you've sent content, then implicitly the header must already
have been sent, so it's too late for a cookie.
You may also want to actually look at the HTTP headers the server
is
Also, it is possible for the JSP compiler to do some additional optimization
of the string-handling if you use the expression tag instead of the scriplet
tag. I have no idea if any compilers currently do this (GnuJSP doesn't
appear to, but that's the only one I've used).
Personally, I switched
You can find the class in jst.jar, where jst stands for the Java Server
Toolkit, downloadable from Sun. These classes are not compatible with all
web servers however.
Jason Axtell
[EMAIL PROTECTED]
-Original Message-
From: A mailing list about Java Server Pages specification