why request object become null when i pass it to servlet ?
843841Oct 24 2007 — edited Oct 25 2007Hi,
i have a jsp page and i set the parameter to my request obj ( request.setAttribute("totalrecord", totalrecord), and i post to my servlet that look like this
<form name = "form" method = "post" action = "CheckServlet">
in my CheckServlet, i do a request.getAttribute("totalrecord"); but i got a null, why is that so ??
i tried to print out using Sustem.out.println(request.getAttribute("totalrecord")); in my jsp, it has somethg, but when it pass to servlet, it become null ?
could someone pls enlighten me ?