adding option to try out old jsps by including parameter for editRequestDispatch.jsp
This commit is contained in:
parent
16dffa6d32
commit
cc8c48bff4
1 changed files with 3 additions and 1 deletions
|
@ -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() +
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue