call a servlet from a JSP ?
Hi EveryOne ,
I have a servlet that uses some request parameters and based on that sets a JSON Response.
Is it possible to use this in my JSP (I do not have a form) .
I want to invoke the servlet by passing the parameters and obtain the JSON Response and display this content on my JSP. I dont want to copy the same code to my JSP because this servlet is already being used by several classes and hence would like re-use the same.
Thanks in Advance
Harish