|
-
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
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks