March 6th, 2001, 09:41 AM
Sorry for my English(I am from Russia).
I have one small question:
how can I call a servlet from html page, but not reload this page?
(not using frame and applet, this is a plain html page)
In principle, I have answer to this question, but I want to hear more versions of solving this problem.
March 7th, 2001, 12:36 AM
If u r using a servletrunner, then u can call the servlet from the html like this:
If u have a form inside the html, u r form tag will look like this:
<form action="http://localhost:8080/servlet/servletname" method=post>
This will ensure that only post requests can be sent. So u can't reload the serlvet.
March 7th, 2001, 08:43 AM
ajitrm, DON'T RELOAD THE PAGE!!!
March 8th, 2001, 04:52 AM
I don't understand what u mean by not reloading. U have written about reloading not me.
March 8th, 2001, 12:28 PM
Usually, when you send data on the server, then your web-page (html-page) is REFRESHED(updated, RELOAD, renew). But I want to send data on the server without REFRESHING this page.
My english is very bad!
March 15th, 2001, 06:49 AM
Hope this helps!
March 15th, 2001, 06:59 AM
Torakh, good idea.
March 15th, 2001, 02:24 PM
Do you need to be cross-browser compatible?
Do you need to receive information or just send it?