how to set value of Input Box in Jsp
You have both:
name="firstinput"
and
name="fname"
for the same input field!
UPDATE: In addition to that, change:
value=<%=request.getParameter("firstinput") %>>
to:
value='<%=request.getParameter("firstinput")%>' />