jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sh...@apache.org
Subject cvs commit: jakarta-taglibs/standard/examples/web ShowSource.jsp
Date Wed, 21 Nov 2001 18:30:16 GMT
shawn       01/11/21 10:30:16

  Modified:    standard/examples/web ShowSource.jsp
  Log:
  "file:" instead of "file:/"
  
  Revision  Changes    Path
  1.4       +5 -5      jakarta-taglibs/standard/examples/web/ShowSource.jsp
  
  Index: ShowSource.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-taglibs/standard/examples/web/ShowSource.jsp,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ShowSource.jsp	2001/11/21 18:25:12	1.3
  +++ ShowSource.jsp	2001/11/21 18:30:16	1.4
  @@ -14,13 +14,13 @@
   
   <hr>
   
  -<% pageContext.setAttribute("filePath", "file:/" + application.getRealPath(request.getParameter("filename")));
%>
  -
  -<c:import varReader="reader" url="$filePath">
  +<% pageContext.setAttribute("filename",
  +     "file:" + application.getRealPath(request.getParameter("filename"))); %>
  +<c:import varReader="reader" url="$filename">
  +<%-- <ex:file id="reader" file="$param:filename"> --%>
     <ex:escapeHtml reader="$reader"/>
  +<%-- </ex:file> --%>
   </c:import>
  -
   <hr>
  -
   </body>
   </html>
  
  
  

--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message