王武力:getParameterValues()返回值是什么
杨紫函的回答:
request.getParameterValues(str)返回的是一个string数组。 String s = request.getParameterValues(str)[i]相当于: String[] strArray = request.getParameterValues(str); String s = strArray[i];
李克新的回答:
是一个String[],一般用于获得checkbox的值
刘冠华的回答:
string[]
低调的沉默的回答:
The GetParameterValues method returns the list of supported values for a given parameter. This method applies to parameters that support a list of specific values, as opposed to a stepped range of values. HRESULT GetParameterValues( const GUID* Api, VARIANT** Values ULONG* ValuesCount, ); MSDN里面复制出来的。
经验分享互联网动态
更多阅读推荐