adding option to try out old jsps by including parameter for editRequestDispatch.jsp

This commit is contained in:
hjkhjk54 2011-11-17 21:42:51 +00:00
parent 16dffa6d32
commit cc8c48bff4

View file

@ -246,7 +246,9 @@ public static Log log = LogFactory.getLog("edu.cornell.mannlib.vitro.webapp.jsp.
} }
String generator = jspFormToGenerator.get(form); String generator = jspFormToGenerator.get(form);
if( generator != null ){ String oldEdit = request.getParameter("oldEdit");
if( oldEdit == null && generator != null ){
String queryString = request.getQueryString(); String queryString = request.getQueryString();
response.sendRedirect( response.sendRedirect(
request.getContextPath() + request.getContextPath() +