Author: ssmiweve
Date: 2008-02-17 16:08:30 +0100 (Sun, 17 Feb 2008)
New Revision: 6128

Modified:
   
branches/2.16/war/src/main/java/no/sesat/search/http/dwr/DataModelWrapper.java
   branches/2.16/war/src/main/webapp/WEB-INF/web.xml
Log:
comments about enabling DWR. and comment out DwrServlet.


Modified: 
branches/2.16/war/src/main/java/no/sesat/search/http/dwr/DataModelWrapper.java
===================================================================
--- 
branches/2.16/war/src/main/java/no/sesat/search/http/dwr/DataModelWrapper.java  
    2008-02-16 22:04:30 UTC (rev 6127)
+++ 
branches/2.16/war/src/main/java/no/sesat/search/http/dwr/DataModelWrapper.java  
    2008-02-17 15:08:30 UTC (rev 6128)
@@ -44,8 +44,8 @@
     public static DataModel getDataModel() {
        
         HttpSession session = null;
-//  Uncomment the following two codelines to enable DWR.
-//    The dwr dependency in the pom.xml will also need to be uncommented.      
  
+//  Uncomment the following two codelines to enable DWR. 
+//    The dwr dependency in the pom.xml and servlet in the web.xml will also 
need to be uncommented.  
 //        final org.directwebremoting.WebContext webContext = 
org.directwebremoting.WebContextFactory.get();
 //        session = webContext.getSession(false);
         

Modified: branches/2.16/war/src/main/webapp/WEB-INF/web.xml
===================================================================
--- branches/2.16/war/src/main/webapp/WEB-INF/web.xml   2008-02-16 22:04:30 UTC 
(rev 6127)
+++ branches/2.16/war/src/main/webapp/WEB-INF/web.xml   2008-02-17 15:08:30 UTC 
(rev 6128)
@@ -189,15 +189,16 @@
         
<servlet-class>no.sesat.search.http.servlet.SendMailServlet</servlet-class>
     </servlet>
     
-    <servlet>
+    <!-- Uncomment to enable DWR. 
+      -  The dwr dependency in the pom.xml and code in DataModelWrapper.java 
will also need to be uncommented.   -->
+    <!--servlet>
       <servlet-name>dwr-invoker</servlet-name>
-      <display-name>DWR Servlet</display-name>
       <servlet-class>org.directwebremoting.servlet.DwrServlet</servlet-class>
       <init-param>
          <param-name>debug</param-name>
          <param-value>true</param-value>
       </init-param>
-    </servlet>
+    </servlet-->
 
     <!-- Servlet Mappings -->
     <servlet-mapping>

_______________________________________________
Kernel-commits mailing list
[email protected]
http://sesat.no/mailman/listinfo/kernel-commits

Reply via email to