INCLUDE_DATA

Tag Archives: HTTP Status Code

Sending HTTP Requests without Reloading and without AJAX

Supposing I have a simple HTML form that looks like this:
<form method=”post” action=”/SomeServlet”>
<input type=”text” name=”message” value=”Hello Server” />
<input type=”submit” value=”Send” />
</form>
And supposing I have a Servlet mapped at the path /SomeServlet, consisting of the code:
public class SomeServlet extends HttpServlet {
protected void doPost(HttpServletRequest request,
[...]