retrieve « Parameter « JSP-Servlet Q&A





3. [ajax and servlet] Servlet could not retrieve parameters from ajax xmlHttp.send(params)    coderanch.com

hi eveyone, I was trying to send parameters through xmlHttp.send(params) and process them in my servlet class. However, I could not retrieve those parameters in the servlet class by using request.getParameter("paramName"); here is my code in javascripts(ajax part) function findProjects(type) { xmlHttp=GetXmlHttpObject(); if (xmlHttp==null) { alert ("Your browser does not support Ajax HTTP"); return; } var url="/pms/findProject.do"; xmlHttp.onreadystatechange=handleStateChange; if(type=="findAll"){ xmlHttp.open("GET",url+"?type=findAll",true); xmlHttp.send(null); ...

4. Retrieving parameters from jsp    coderanch.com

Hi Here is the scenario. JSP will send the request along with request parameters using httppost. the servlet will process the request and forward the request to another JSP File. To access the request parameters of first JSP in second JSP. I can put them as request attributes in the servlet and forward the request to second jsp. now my question ...

5. jsp parameter retrieve help    forums.oracle.com