cziegeler 2003/05/07 13:49:35
Modified: src/java/org/apache/cocoon/components/jsp JSPEngineImpl.java . changes.xml Log: Fixing bug 14564 Revision Changes Path 1.2 +2 -2 cocoon-2.0/src/java/org/apache/cocoon/components/jsp/JSPEngineImpl.java Index: JSPEngineImpl.java =================================================================== RCS file: /home/cvs/cocoon-2.0/src/java/org/apache/cocoon/components/jsp/JSPEngineImpl.java,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- JSPEngineImpl.java 9 Mar 2003 00:01:50 -0000 1.1 +++ JSPEngineImpl.java 7 May 2003 20:49:34 -0000 1.2 @@ -141,7 +141,7 @@ public Enumeration getInitParameterNames() { return c.getInitParameterNames(); } public ServletContext getServletContext() { return c; } - public String getInitParameter(String name) { return null; } + public String getInitParameter(String name) { return c.getInitParameter(name); } } /** 1.9 +4 -1 cocoon-2.0/changes.xml Index: changes.xml =================================================================== RCS file: /home/cvs/cocoon-2.0/changes.xml,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- changes.xml 7 May 2003 20:43:13 -0000 1.8 +++ changes.xml 7 May 2003 20:49:34 -0000 1.9 @@ -42,6 +42,9 @@ </devs> <release version="@version@" date="@date@"> + <action dev="CZ" type="fix" fixes-bug="14564"> + Fixing NPE in JspEngineImpl. + </action> <action dev="CZ" type="fix" fixes-bug="14117"> Obtain handler and application name from paramters for internal requests if handler could not be resolved from the request object . </action>