开发者

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)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜