1. For array - request.getParameterValues([VALUENAMEASARRAY]);
You can get variables as an Array by follow codesString[] arrayParam1=request.getParameterValues("param1"); for(int i=0;i<arrayParam1.length;i++){ System.out.println("arrayParam1["+i+"] : "+arrayParam1[i]); }
2. For single - request.getParameter ([VALUENAME]);
Normally of how to get a variables
<% String yourparams=request.getParameter("yourparams"); System.out.println("value : "+yourparams); %>
No comments:
Post a Comment