You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by di...@apache.org on 2003/03/05 15:15:21 UTC

cvs commit: xml-axis/java/webapps/axis fingerprint.jsp

dims        2003/03/05 06:15:21

  Modified:    java/webapps/axis fingerprint.jsp
  Log:
  Fix for  Bug 17672 - 	fingerprint.jsp gives compile errors on WebLogic 6.1 (with patch)
  from ajbanck@informatica.com (AJ Banck)
  
  Revision  Changes    Path
  1.3       +5 -5      xml-axis/java/webapps/axis/fingerprint.jsp
  
  Index: fingerprint.jsp
  ===================================================================
  RCS file: /home/cvs/xml-axis/java/webapps/axis/fingerprint.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- fingerprint.jsp	8 Aug 2002 23:35:11 -0000	1.2
  +++ fingerprint.jsp	5 Mar 2003 14:15:21 -0000	1.3
  @@ -150,7 +150,7 @@
   
       /** print out the jar versions for a context-relative directory */
       public void listContextPath(String title, JspWriter out, String path, String comment)  throws IOException {
  -        listVersions(title, out,scanDir(this.getServletContext().getRealPath(path)), comment);
  +        listVersions(title, out,scanDir(getServletConfig().getServletContext().getRealPath(path)), comment);
       }
   
       /** print out the jar versions for a given list of files */
  @@ -176,9 +176,9 @@
   <table>
   <tr>
       <td>Servlet Engine</td>
  -    <td><%= this.getServletContext().getServerInfo() %></td>
  -    <td><%= this.getServletContext().getMajorVersion() %></td>
  -    <td><%= this.getServletContext().getMinorVersion() %></td>
  +    <td><%= getServletConfig().getServletContext().getServerInfo() %></td>
  +    <td><%= getServletConfig().getServletContext().getMajorVersion() %></td>
  +    <td><%= getServletConfig().getServletContext().getMinorVersion() %></td>
   </tr>
   <tr>
       <td>Java VM</td>
  @@ -206,7 +206,7 @@
   listDirpathProperty("Extra system jars", out,"java.ext.dirs", null);
   listContextPath("Webapp jars", out, "/WEB-INF/lib", null);
   // identify the container...
  -String container=this.getServletContext().getServerInfo();
  +String container=getServletConfig().getServletContext().getServerInfo();
   if (container.startsWith("Tomcat Web Server/3.2")) {
       String home=System.getProperty("tomcat.home");
       if(home!=null) {