cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reinhard Pötz <reinh...@apache.org>
Subject Testing servlet:/ calls without an active request (was: svn commit: r682355 - in /cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon: callstack/environment/ servletservice/ servletservice/url/)
Date Mon, 04 Aug 2008 12:19:43 GMT
reinhard@apache.org wrote:
> Author: reinhard
> Date: Mon Aug  4 05:16:12 2008
> New Revision: 682355
> 
> URL: http://svn.apache.org/viewvc?rev=682355&view=rev
> Log:
> . make the CallFramehelper more defensive -> check for null references
> . throw exceptions in the case of a SSF self-reference or relative reference because
this always requires a calling SSF request. Only an absolute reference can work without a
stand-alone reference
> 
> Added:
>     cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/NoCallingServletServiceRequestAvailableException.java
  (with props)
> Modified:
>     cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/callstack/environment/CallFrameHelper.java
>     cocoon/trunk/subprojects/cocoon-servlet-service/cocoon-servlet-service-impl/src/main/java/org/apache/cocoon/servletservice/url/ServletURLConnection.java

Any idea how this can be tested with a _simple_ setup?

-- 
Reinhard Pötz                           Managing Director, {Indoqa} GmbH
                          http://www.indoqa.com/en/people/reinhard.poetz/

Member of the Apache Software Foundation
Apache Cocoon Committer, PMC member                  reinhard@apache.org
________________________________________________________________________

Mime
View raw message