I already have it declared in header include files, but it doesn't do
anything.
I did some searching and found this nugget (from
http://www.oreillynet.com/pub/a/oreilly/java/news/jsptips_1100.html
tip #2):
The default buffer size is 8KB, more than enough for a typical page,
and you can increase it with the buffer attribute of the page directive.
But if you use the include action in a page, you may be in for a
surprise. Due to limitations in the way the servlet features used by
jsp:include are specified, the buffer is always flushed before the
target page is invoked. This means that you can't set headers or use
jsp:forward after a jsp:include action.
So far it seems to me that setting it manually in every jsp is my only
option, which is quite annoying.
-Hans Loeblich
Yong Bakos wrote:
Hans, don't declare it manually in every jsp -- just once in your
header portion of your view/jsp templates, which would typically be
included in each individual jsp.
On Jun 27, 2007, at 8:59 AM, Hans Loeblich wrote:
I need to know if there is any way to make UTF-8 my default charset
encoding. Do I really have to set the page contentType at the top of
every jsp? It currently defaults to ISO-8559-1 if I do not explicitly
set it.
Thank you,
Hans Loeblich
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest
___
resin-interest mailing list
resin-interest@caucho.com
http://maillist.caucho.com/mailman/listinfo/resin-interest