passing form values from one jsp to another
i need to access form data given entered in one jsp in another.. this is how my code looks fisrt jsp:
<form name="register" action="enterRegDetails.jsp" method="POST">
<input type="text" name="firstname" id="firstname" value="" size=25开发者_如何转开发/>
<input type="submit" value="SUBMIT" />
second jsp:
<%=request.getParameter("firstame")%>
now this prints a null value..
what is the mistake here? how do i get to access the values in my second jsp?
name="firstname"
<%=request.getParameter("firstame")%>
It is not just the spelling mistake, is it? (Missing n)
精彩评论