Hello All,
I am developing an application in which I am sending a ResultSet from servlet to jsp page. ResultSet contains result of "select" query and I wanted to dispaly the output of this query in jsp page in table format.
In servlet the output of query is stored in ArrayList and I am sending this ArrayList using <jsp:forward page > tag.
In my jsp page I am getting ResultSet result using request.getParameter("param1").
Now I wanted to convert this request.getParameter("param1") to ArrayList and get its Attribute.
Can Anybody tell me how to achieve this?
Code for reference:
when I am printing values in JSP page using out.println(request.getParameter("param1")); are
[{STATUS=open, FUNCTIONAL_AREA=IT-Software, COMPANYNAME=TCS, JOBLOC=Pune, SALARY=5000, CONTACT_NO=1238, EMAIL=n@tcs.com, WORK_EXP=4, SKILL_SET=Java, COMPANYLOC=Pune}, {STATUS=Open, FUNCTIONAL_AREA=IT Software, COMPANYNAME=tcs, JOBLOC=pune, SALARY=4000, CONTACT_NO=12345, EMAIL=np@gmail.com, WORK_EXP=7, SKILL_SET=Java,J2EE, COMPANYLOC=pune}, {STATUS=open, FUNCTIONAL_AREA=IT-Software, COMPANYNAME=TCS, JOBLOC=Pune, SALARY=5000, CONTACT_NO=1238, EMAIL=p@tcs.com, WORK_EXP=4, SKILL_SET=Java, COMPANYLOC=Pune}]
Can anybody tell me How to extract values from this output and show it in table format?