I have the following jqGrid script:
jQuery("#editgrid").jqGrid({
url: "editing.php?q=1",
datatype: "xml",
// ...
Where should the url point to if I am using Java instead PHP for creating the crud?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
It should just point to an URL where you’ve some Java code running and listening on the particular URL. In a Java webapplication you normally use a Servlet class for this. Just let the URL match the
<url-pattern>of the Servlet class as you’ve definied in theweb.xml. In the Servlet class you just implementdoGet()method accordingly to handle the HTTP GET request and response.