Monday, December 10, 2007

How to Use AJAX with Servlet in .JSPX Page

If u want to use Table select one choice request to Servlet, This code/ Methods are very Usefull..

Select the selectonechoice component in table of page(.jspx). In java script call function which has parameter value of EL expression like #{row.empId} , In java Script U have pass HttpXmlRequest to servlet and U should write code or Bussiness logic in servlet

Javascript Code For sending Request to Servlete with PAramaeter :




And Also U have to Add DIV Tag in JSPX which is called Servlet above......
\\Please otn.oracle for Ajax Request....


Regards,
Satish

No comments: