Revision 2332
Added by Duane Costa about 20 years ago
src/edu/ucsb/nceas/metacat/harvesterClient/HarvesterRegistrationLogin.java | ||
---|---|---|
117 | 117 |
httpSession = req.getSession(true); |
118 | 118 |
httpSession.setAttribute("username", user); |
119 | 119 |
httpSession.setAttribute("password", passwd); |
120 |
res.sendRedirect("HarvesterRegistration");
|
|
120 |
res.sendRedirect("harvesterRegistration");
|
|
121 | 121 |
} |
122 | 122 |
else { |
123 | 123 |
out.println("Invalid login"); |
Also available in: Unified diff
Modify value of redirect to match the servlet-mapping URL values in web.xml. The old value used the servlet class name. This worked in Tomcat 4 but seems to break in Tomcat 5 on Windows. The new value uses the servlet-mapping URL value. This should work in both Tomcat 4 and Tomcat 5.