问题描述:

This question already has an answer here:

  • How can I retain HTML form field values in JSP after submitting form to Servlet?

    2 answers

网友答案:

you have setAttrribute for the messsage for both first name and last name so that that attribute can be obtain by the method request.getAttribut("","") and you want to display that entered value then you should use same which you have used in servlet that is request.getParameter("fname")

相关阅读:
Top