Question

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?

No correct solution

OTHER TIPS

 name="firstname"

 <%=request.getParameter("firstame")%>

It is not just the spelling mistake, is it? (Missing n)

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow