开发者

Enumeration and getParametnames method of request object

开发者 https://www.devze.com 2023-03-24 17:43 出处:网络
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

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

精彩评论

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