<% String method = request.getParameter("method"); if (method == null) method = "GET"; %> The action of this form is <%= method %>

Click to see PDF: