[sword-svn] r250 - in trunk/webapp: . examples

scribe at crosswire.org scribe at crosswire.org
Thu May 11 23:45:47 MST 2006


Author: scribe
Date: 2006-05-11 23:45:45 -0700 (Thu, 11 May 2006)
New Revision: 250

Modified:
   trunk/webapp/examples/booklist.jsp
   trunk/webapp/examples/lookup.jsp
   trunk/webapp/examples/search.jsp
   trunk/webapp/examples/suggest.jsp
   trunk/webapp/fetchdata.jsp
Log:
fixed more pages to use new orb calls which require request instead of session


Modified: trunk/webapp/examples/booklist.jsp
===================================================================
--- trunk/webapp/examples/booklist.jsp	2006-05-12 06:16:52 UTC (rev 249)
+++ trunk/webapp/examples/booklist.jsp	2006-05-12 06:45:45 UTC (rev 250)
@@ -7,7 +7,7 @@
 
 
 <%
-	SWMgr mgr = SwordOrb.getSWMgrInstance(session);
+	SWMgr mgr = SwordOrb.getSWMgrInstance(request);
 %>
 
 <html>

Modified: trunk/webapp/examples/lookup.jsp
===================================================================
--- trunk/webapp/examples/lookup.jsp	2006-05-12 06:16:52 UTC (rev 249)
+++ trunk/webapp/examples/lookup.jsp	2006-05-12 06:45:45 UTC (rev 250)
@@ -8,7 +8,7 @@
 
 
 <%
-	SWMgr mgr = SwordOrb.getSWMgrInstance(session);
+	SWMgr mgr = SwordOrb.getSWMgrInstance(request);
 	SWModule book = mgr.getModuleByName("KJV");
 %>
 

Modified: trunk/webapp/examples/search.jsp
===================================================================
--- trunk/webapp/examples/search.jsp	2006-05-12 06:16:52 UTC (rev 249)
+++ trunk/webapp/examples/search.jsp	2006-05-12 06:45:45 UTC (rev 250)
@@ -8,7 +8,7 @@
 
 
 <%
-	SWMgr mgr = SwordOrb.getSWMgrInstance(session);
+	SWMgr mgr = SwordOrb.getSWMgrInstance(request);
 	SWModule book = mgr.getModuleByName("NASB");
 %>
 

Modified: trunk/webapp/examples/suggest.jsp
===================================================================
--- trunk/webapp/examples/suggest.jsp	2006-05-12 06:16:52 UTC (rev 249)
+++ trunk/webapp/examples/suggest.jsp	2006-05-12 06:45:45 UTC (rev 250)
@@ -4,7 +4,7 @@
 %>
 <%@ page import="org.crosswire.sword.orb.*" %>
 <%
-        SWMgr mgr     = SwordOrb.getSWMgrInstance(session);
+        SWMgr mgr     = SwordOrb.getSWMgrInstance(request);
         String mod    = request.getParameter("mod");
         String key    = request.getParameter("key");
 	if (key != null) key = new String(key.getBytes("UTF-8"), "iso8859-1");

Modified: trunk/webapp/fetchdata.jsp
===================================================================
--- trunk/webapp/fetchdata.jsp	2006-05-12 06:16:52 UTC (rev 249)
+++ trunk/webapp/fetchdata.jsp	2006-05-12 06:45:45 UTC (rev 250)
@@ -6,7 +6,7 @@
 <%@ page import="java.net.URLEncoder" %>
 <%
 
-	SWMgr mgr = SwordOrb.getSWMgrInstance(session);
+	SWMgr mgr = SwordOrb.getSWMgrInstance(request);
 	SWModule book = null;
 	String key = request.getParameter("key");
 	String modName = request.getParameter("mod");



More information about the sword-cvs mailing list