开发者

Enumeration and getParametnames method of request object

I'm sending the data from HTML page to the Servlet and in开发者_C百科 Servlet I'm using the Enumeration from request.getParameterNames(), but I'm not getting the data in the sequence in which it is send by the HTML page. How can I obtain it?


getParameterNames() returns the names of the parameters. Not their values. Use getParameter(String parameterName) to get the value of a parameter. The javadoc is your friend.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜