Servlet 2.4 also allows to specify the character set of the response object in the implicity way by setting the locale of the response object by calling ServletResponse.setLocale. In this implicit method, locale charset mapping is specified in web.xml.
In this sample, we'll show you how to set response object's character set in both explicitly and implicitly.
Copyright (c) 2004 Sun Microsystems, Inc. All rights reserved.