Revision 49197
Added by Katerina Iatropoulou over 6 years ago
ForgotPasswordServlet.java | ||
---|---|---|
42 | 42 |
|
43 | 43 |
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws IOException { |
44 | 44 |
|
45 |
String formEmail = (String)request.getAttribute("email");
|
|
45 |
String formEmail = request.getParameter("email");
|
|
46 | 46 |
|
47 | 47 |
if (formEmail == null) { |
48 | 48 |
request.getSession().setAttribute("message", "Error reading email."); |
Also available in: Unified diff
Reading form fields