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 17:24:01 GMT
shawn       01/11/21 09:24:01

  Modified:    standard/examples/web ShowSource.jsp
  Log:
  Reverted ShowSource.jsp to direct file I/O instead of import, since we
  want the source, not the result.  Known issue:  this won't work with
  WAR files.
  
  Revision  Changes    Path
  1.2       +4 -4      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.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- ShowSource.jsp	2001/11/21 07:34:27	1.1
  +++ ShowSource.jsp	2001/11/21 17:24:01	1.2
  @@ -13,11 +13,11 @@
   <h3>Source code for:&nbsp; <c:expr value="$param:filename"/></h3>
   
   <hr>
  -<c:import varReader="reader" url="$param:filename">
  -<%-- <ex:file id="reader" file="$param:filename"> --%>
  +<%-- <c:import varReader="reader" url="$param:filename"> --%>
  +<ex:file id="reader" file="$param:filename">
     <ex:escapeHtml reader="$reader"/>
  -<%-- </ex:file> --%>
  -</c:import>
  +</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