String prodID=request.getParameter("productID");
//int no=Interger.parseInt(prodID);
int sumcount=0;,
1
Expert's answer
2013-03-05T09:10:20-0500
Going line after line =) if(name.matches(userId), String name =session.getAttribute("name"),
in case String variable called name matches regex pattern(regex is a regular expressions language) stored in userId variable String name will get value, stored in the session (session is a personaldata store for any user, visiting the page, you can put anything there and retrieve things you've stored there.) by the key 'name'
Left part is similar to the previous line.'request.getParameter("productID")' retrieving info stored in the HTTPRequest sent by user to the server. (both POST and GET requests) with attribute name='productID'
//int no=Interger.parseInt(prodID); commented code. will do nothing. uncomment it and it willtransform info from prodID to integer, or will crash if non0numeric data is stored or null int sumcount=0; - variable declaration
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
Finding a professional expert in "partial differential equations" in the advanced level is difficult.
You can find this expert in "Assignmentexpert.com" with confidence.
Exceptional experts! I appreciate your help. God bless you!
Comments
Leave a comment