When we click the submit button as the following form, my
understanding is it will submit the form to the web server,
and then open page2.jsp. My question is web server has
some area to store the name-value pairs?? I just want to understand
how it works internally.
<FORM ACTION="page2.jsp" METHOD="POST">
<INPUT TYPE="hidden" name="username" value="joe">
<INPUT TYPE="submit" value="submit form">
</FORM>
In page2.jsp
<%= request.getParameter("username") %>
Please advise. Thanks!!
-
how web server stores the form data? (2 messages)
- Posted by: Matt Louden
- Posted on: August 24 2004 11:41 EDT
Threaded Messages (2)
- how web server stores the form data? by JT Wenting on August 25 2004 05:13 EDT
- how web server stores the form data? by Matt Louden on August 27 2004 19:47 EDT
-
how web server stores the form data?[ Go to top ]
- Posted by: JT Wenting
- Posted on: August 25 2004 05:13 EDT
- in response to Matt Louden
that would all depend on the server implementation.
But typically it would just hand over the raw http request data to the JSP engine. -
how web server stores the form data?[ Go to top ]
- Posted by: Matt Louden
- Posted on: August 27 2004 19:47 EDT
- in response to JT Wenting
so the JSP engine doesn't store any form data? People told me when we do the following, it will submit the current form data to page2.jsp, and nothing is stored in web server.
<form action="page2.jsp" method="post">
please advise. thanks!!