jmitchell 2003/03/09 08:02:40
Modified: web/test jspRedirector.jsp
Log:
Update redirector to a version that (at least) compiles with
Cactus 1.3, 1.4, and 1.4.1
I still cannot make any tests pass that call request.getServerPort() in the
Cactus 1.4.x environment. This may be a known bug with that project
or perhaps a mismatch of dependent jars.
For now, our tests will only run on Cactus 1.3
Revision Changes Path
1.2 +1 -11 jakarta-struts/web/test/jspRedirector.jsp
Index: jspRedirector.jsp
===================================================================
RCS file: /home/cvs/jakarta-struts/web/test/jspRedirector.jsp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- jspRedirector.jsp 16 Jun 2002 04:02:38 -0000 1.1
+++ jspRedirector.jsp 9 Mar 2003 16:02:40 -0000 1.2
@@ -1,8 +1,6 @@
-<[EMAIL PROTECTED] import="org.apache.cactus.server.*,
- org.apache.cactus.util.log.LogService" session="true" %><%
+<[EMAIL PROTECTED] import="org.apache.cactus.server.*" session="true" %><%
/**
- *
* Note:
* It is very important not to put any character between the end
* of the page tag and the beginning of the java code expression, otherwise,
@@ -16,14 +14,6 @@
* example we need access to JSP implicit objects (PageContext and
* JspWriter).
*/
-
- /**
- * Initialise logging if not already initialised
- */
- if (!LogService.getInstance().isInitialized())
- {
- LogService.getInstance().init("/log_server.properties");
- }
JspImplicitObjects objects = new JspImplicitObjects();
objects.setHttpServletRequest(request);
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]