Home > front end >  The JSP/servlet error, and the meaning and the solution
The JSP/servlet error, and the meaning and the solution

Time:09-29

The getAttribute
(String)
In ServletRequest always be applied
To
(String,
Java. Lang. String)

CodePudding user response:

Means: the ServletRequest getAttribute (String) cannot be applied to (String, Java. Lang. String)
The solution don't know!!
But you can consult:
Servlet to obtain from the page data, generally use getParmeter (" String name "),
When necessary data to the page, using the setAttribute (String, String), page using getAttribute (" String ") get the value,
  • Related