Hi to all
Please i want to know how to write java code in a servlet that will run actions, submit form and close the dialog containing de html page.
thanks
Printable View
Hi to all
Please i want to know how to write java code in a servlet that will run actions, submit form and close the dialog containing de html page.
thanks
A servlet does not control any of that.
Apart from "run actions" (which is pretty vague), the "submit form" and "close dialog" are client side things.
Sorry, i see that i'm not very clear.
I'm working in a project using JSP an servlets.
The pages are dynamically generated by servlets.
What I want is exemples of html code that my servlet will generate so the generated page will work as i have describe.
How can I use JSP scriptlets and javascript together to do what i have described
Thanks
Still not sure what you mean.
Submitting a form is something done on the client, so the JSP merely needs to provide the form to submit. Closing dialogs is all Javascript, so that's not really part of this forum.
Run actions still doesn't make any sense...what does that mean?