This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
hi, the get parameter is used when you want to get the http parameter's value that came from the user(via html)for example <input type='text' name='myParam'></input> so when you do getParameter("myParam") you will get the value of that input field. the get attribute is used when you want to get an attribute value that came from other servlet or JSP. that will happen only if the first servlet or JSP that got the request from the user activated the request.setAttribute("myAttribute","some value") and then activated the requestDispatcher("other servlet or jsp uri").forword(request,response) hope that helps!