cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Berin Loritsch <blorit...@apache.org>
Subject Re: Latest CocoonServlet and ParanoidServlet changes problem
Date Thu, 22 Feb 2001 13:34:24 GMT
Robert Marcano wrote:
> 
> The latest changes in this classes defines the method "getClassPath" as
> private, so the overriden in ParanoidServlet is never called
> 
> See attached diff.txt

Thanks alot.  The patch is committed.

> 
>   ------------------------------------------------------------------------------------------------------------------------------------
> Index: ParanoidCocoonServlet.java
> ===================================================================
> RCS file: /home/cvspublic/xml-cocoon/src/org/apache/cocoon/servlet/Attic/ParanoidCocoonServlet.java,v
> retrieving revision 1.1.2.3
> diff -u -r1.1.2.3 ParanoidCocoonServlet.java
> --- ParanoidCocoonServlet.java  2001/02/21 15:08:47     1.1.2.3
> +++ ParanoidCocoonServlet.java  2001/02/22 13:19:51
> @@ -53,7 +53,7 @@
>       *
>       * @throws ServletException
>       */
> -     private String getClassPath(final ServletContext context)
> +     protected String getClassPath(final ServletContext context)
>       throws ServletException {
>          RepositoryClassLoader classloader = new RepositoryClassLoader(new URL[] {},
(ClassLoader) this.appContext.get(Constants.CONTEXT_CLASS_LOADER));
>          StringBuffer buildClassPath = new StringBuffer();
> Index: CocoonServlet.java
> ===================================================================
> RCS file: /home/cvspublic/xml-cocoon/src/org/apache/cocoon/servlet/Attic/CocoonServlet.java,v
> retrieving revision 1.1.4.63
> diff -u -r1.1.4.63 CocoonServlet.java
> --- CocoonServlet.java  2001/02/21 15:53:37     1.1.4.63
> +++ CocoonServlet.java  2001/02/22 13:19:53
> @@ -133,7 +133,7 @@
>       *
>       * @throws ServletException
>       */
> -     private String getClassPath(final ServletContext context)
> +     protected String getClassPath(final ServletContext context)
>       throws ServletException {
>          StringBuffer buildClassPath = new StringBuffer();
>          String classDir = context.getRealPath("/WEB-INF/classes");
> 
>   ------------------------------------------------------------------------------------------------------------------------------------
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
> For additional commands, email: cocoon-dev-help@xml.apache.org

Mime
View raw message