Author: jgallimore
Date: Fri May 25 22:20:33 2012
New Revision: 1342823

URL: http://svn.apache.org/viewvc?rev=1342823&view=rev
Log:
Adding documentation for setting the development setting on the JspServlet. 
Many thanks to Andy White for the patch\!

Modified:
    openejb/site/trunk/content/tomee-and-eclipse.mdtext

Modified: openejb/site/trunk/content/tomee-and-eclipse.mdtext
URL: 
http://svn.apache.org/viewvc/openejb/site/trunk/content/tomee-and-eclipse.mdtext?rev=1342823&r1=1342822&r2=1342823&view=diff
==============================================================================
--- openejb/site/trunk/content/tomee-and-eclipse.mdtext (original)
+++ openejb/site/trunk/content/tomee-and-eclipse.mdtext Fri May 25 22:20:33 2012
@@ -66,4 +66,25 @@ are also started up and adds up to the s
 
     10. In the Servers tab, right click on the server and select "Publish". 
 
-    11. Start the server.
\ No newline at end of file
+    11. Start the server.
+    
+If jsp changes are not being hot deployed then this is because the jsp servlet 
is set to development=false in the web.xml file. To allow jsp hot deployment 
alter this value to true and restart Tomee.
+
+This is the relevant snippet of the web.xml file.
+    <servlet>
+        <servlet-name>jsp</servlet-name>
+        <servlet-class>org.apache.jasper.servlet.JspServlet</servlet-class>
+        <init-param>
+            <param-name>fork</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+            <param-name>xpoweredBy</param-name>
+            <param-value>false</param-value>
+        </init-param>
+        <init-param>
+            <param-name>development</param-name>
+            <param-value>*false*</param-value>
+        </init-param>
+        <load-on-startup>3</load-on-startup>
+    </servlet>
\ No newline at end of file


Reply via email to