I don't have the code with me, but it's simple enough to explain accurately.
I have a Form, with an Input. The Form does not have the Action attb. The Input calls a JS method, which in turn calls the
servlet.
Everything works for this process...servlet is called, etc etc.
When I have the Form with the Action attb filled in, not using AJAX at all, in the servlet I can call request.getParamter("div-tag-name");
However, since I don't have the Action on the Form, i'm not able to get a Div name using the Ajax to call the servlet. This is true for both GET and POST.
How can I use Ajax to call POST on the servlet and still be able to use request.getParameter("div-name") in the servlet? When I do it now it's just null...i assume Ajax doens't send this info. I have tried in the JS method to do the setRequestHeader('content-type.....,'etc etc') and send("div-ID-name"), but still getParameter() in the Servlet is null...
what am i supposed to do to fix this???
[ January 26, 2008: Message edited by: Bear Bibeault ]