You are viewing a plain text version of this content. The canonical link for it is here.
Posted to watchdog-dev@jakarta.apache.org by cr...@locus.apache.org on 2000/04/26 19:00:53 UTC

cvs commit: jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports implicitImportServlet.jsp

craigmcc    00/04/26 10:00:53

  Modified:    src/server/jsp-tests/jsp/core_syntax/directives/page/imports
                        implicitImportServlet.jsp
  Log:
  Correct the test to call getServletConfig().getServletContext() instead of
  calling getServletContext() directly.
  PR: 272
  Submitted by:	paul@newatlanta.com
  
  Revision  Changes    Path
  1.2       +1 -1      jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportServlet.jsp
  
  Index: implicitImportServlet.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-watchdog/src/server/jsp-tests/jsp/core_syntax/directives/page/imports/implicitImportServlet.jsp,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- implicitImportServlet.jsp	1999/11/09 20:51:47	1.1
  +++ implicitImportServlet.jsp	2000/04/26 17:00:53	1.2
  @@ -17,7 +17,7 @@
   
   try{
   
  - RequestDispatcher rd =getServletContext().getRequestDispatcher( "/jsp/core_syntax/directives/page/imports/implicit.jsp");
  + RequestDispatcher rd = getServletConfig().getServletContext().getRequestDispatcher( "/jsp/core_syntax/directives/page/imports/implicit.jsp");
    rd.forward(request, response);
   
     }catch(Exception o){o.printStackTrace();}