A cleaner way to get all your parameters at once is to use the
HttpServletRequest's getParameterMap() method defined in the
ServletRequest interface.

The map keys are strings and the values are String[]

Then you only have to do your validation at the map.get("n1").

Chris


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CTJUG Forum" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/CTJUG-Forum
-~----------~----~----~----~------~----~------~--~---

Reply via email to