문제

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)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top