dev@glassfish.java.net

parameter-encoding in sun-web.xml

From: Peter Williams <Pete.Williams_at_Sun.COM>
Date: Tue, 16 May 2006 17:36:15 -0700

In SJSAS 8.1 and 9.0, there are two parameter-encoding blocks allowed in
sun-web.xml. One globally, and one that can be specified in the
local-charset-info element. Prior to 8.1, only the one in
locale-charset-info existed.

IIRC, the global version overrides the one in locale-charset-info. Are
there any circumstances where this would not be true or that having
different values in these would do something useful?

It seems to me that it is confusing to the user to offer the ability to
configure _both_ of these settings.

Is there any reason _not_ to optimize this (the NetBeans Sun
Configuration UI) such that parameter encodings found in the older
location (e.g. locale-charset-info) are migrated to the global setting
and only allow editing of the newer global setting?

-Peter