How do I avoid doing this  and use some validation mechanism for the
request parameters:

String n1 = request.getParameter( "n1" );
String n2 = request.getParameter( "n2" );
.....
....
String n100 = request.getParameter( "n100" );

if ( n1 == null ) {
        n1 = "";
}

if ( n2 == null ) {
    n2 = "";
}
......
......

if ( n100 == null ) {
        n100 = "";
}

--~--~---------~--~----~------------~-------~--~----~
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