Discussions

Web tier: servlets, JSP, Web frameworks: send XML request string using HTTP POST protocol?

  1. I wonder if we can send XML request string using HTTP POST protocol?

    The JSP page needs to send XML request string to another JSP page when the user clicks submit button, I wonder how to get started because when user click submit button, it will send the form to page2.jsp.

    <form action="page2.jsp" method="POST">
    Name: <input type="text" name="fname">
    //etc.. controls
    <input type="submit">
    </form>
  2. See for example HTTP taglib in Coldtags suite

    http://www.servletsuite.com/jsp.htm