-
Java Servlet problem: radio button with no default value won't be picked up by "HttpServletRequ
Hi,
We are using a generic Java Servlet to process various submitted form using
codes similar to what's shown below. The problem is, radio buttons with no
default value won't be picked up by "HttpServletRequest.getParameterNames".
Any idea why or any way to work around that?
Cheers
Allan
public void doGet(HttpServletRequest request, HttpServletReqponse response)
{
.....
Enumeration paramNames = request.getParameterNames();
while (paramNames.hasMoreElements()){
String pramName = (String)paramNames.nextElement();
......
}
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Development Centers
-- Android Development Center
-- Cloud Development Project Center
-- HTML5 Development Center
-- Windows Mobile Development Center
|