tiles « Tomcat « JSP-Servlet Q&A





1. Can I serve JSPs from inside a JAR in lib, or is there a workaround?    stackoverflow.com

I have a web application deployed as a WAR file in Tomcat 7. The application is build as a multi-module project:

  • core - packaged as JAR, contains most of the backend code
  • core-api ...

2. How do you disable session creation for all JSPs with Tiles?    stackoverflow.com

Is there any way to make all my JSPs not create sessions when using Jasper (Tomcat)? Apparently Jasper will create a session unless you specify not to:

<%@ page contentType="text/html;charset=UTF-8" language="java" session="false" %>
Is ...