Author: markt Date: Thu Dec 17 21:06:14 2015 New Revision: 1720655 URL: http://svn.apache.org/viewvc?rev=1720655&view=rev Log: Don't create session unnecessarily in the Host Manager application.
Modified: tomcat/trunk/webapps/docs/changelog.xml tomcat/trunk/webapps/host-manager/WEB-INF/jsp/401.jsp tomcat/trunk/webapps/host-manager/WEB-INF/jsp/403.jsp tomcat/trunk/webapps/host-manager/WEB-INF/jsp/404.jsp tomcat/trunk/webapps/host-manager/index.jsp Modified: tomcat/trunk/webapps/docs/changelog.xml URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/docs/changelog.xml?rev=1720655&r1=1720654&r2=1720655&view=diff ============================================================================== --- tomcat/trunk/webapps/docs/changelog.xml (original) +++ tomcat/trunk/webapps/docs/changelog.xml Thu Dec 17 21:06:14 2015 @@ -247,6 +247,10 @@ <fix> Don't create session unnecessarily in the Manager application. (markt) </fix> + <fix> + Don't create session unnecessarily in the Host Manager application. + (markt) + </fix> </changelog> </subsection> <subsection name="Tribes"> Modified: tomcat/trunk/webapps/host-manager/WEB-INF/jsp/401.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/host-manager/WEB-INF/jsp/401.jsp?rev=1720655&r1=1720654&r2=1720655&view=diff ============================================================================== --- tomcat/trunk/webapps/host-manager/WEB-INF/jsp/401.jsp (original) +++ tomcat/trunk/webapps/host-manager/WEB-INF/jsp/401.jsp Thu Dec 17 21:06:14 2015 @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --%> +<%@ page session="false" trimDirectiveWhitespaces="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> Modified: tomcat/trunk/webapps/host-manager/WEB-INF/jsp/403.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/host-manager/WEB-INF/jsp/403.jsp?rev=1720655&r1=1720654&r2=1720655&view=diff ============================================================================== --- tomcat/trunk/webapps/host-manager/WEB-INF/jsp/403.jsp (original) +++ tomcat/trunk/webapps/host-manager/WEB-INF/jsp/403.jsp Thu Dec 17 21:06:14 2015 @@ -14,6 +14,7 @@ See the License for the specific language governing permissions and limitations under the License. --%> +<%@ page session="false" trimDirectiveWhitespaces="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> Modified: tomcat/trunk/webapps/host-manager/WEB-INF/jsp/404.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/host-manager/WEB-INF/jsp/404.jsp?rev=1720655&r1=1720654&r2=1720655&view=diff ============================================================================== --- tomcat/trunk/webapps/host-manager/WEB-INF/jsp/404.jsp (original) +++ tomcat/trunk/webapps/host-manager/WEB-INF/jsp/404.jsp Thu Dec 17 21:06:14 2015 @@ -14,7 +14,8 @@ See the License for the specific language governing permissions and limitations under the License. --%> -<%@ page import="org.apache.catalina.util.RequestUtil" %> +<%@ page import="org.apache.catalina.util.RequestUtil" session="false" + trimDirectiveWhitespaces="true" %> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> Modified: tomcat/trunk/webapps/host-manager/index.jsp URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/host-manager/index.jsp?rev=1720655&r1=1720654&r2=1720655&view=diff ============================================================================== --- tomcat/trunk/webapps/host-manager/index.jsp (original) +++ tomcat/trunk/webapps/host-manager/index.jsp Thu Dec 17 21:06:14 2015 @@ -14,5 +14,5 @@ See the License for the specific language governing permissions and limitations under the License. --%> -<% response.sendRedirect(response.encodeRedirectURL(request.getContextPath() + - "/html")); %> \ No newline at end of file +<%@ page session="false" trimDirectiveWhitespaces="true" %> +<% response.sendRedirect(request.getContextPath() + "/html"); %> \ No newline at end of file --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org