tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Roth <mark.r...@sun.com>
Subject [PATCH] jakarta-servletapi-5 JSP Examples improvements
Date Fri, 03 Oct 2003 14:25:38 GMT
There were reports of the "View Source" option not working for the JSP 
examples in some versions of IE.  Apparently some configurations of IE 
will process the HTML tags in text files instead of rendering them as 
text.  I've made the following enhancements:

   * Created new ant task Txt2Html that converts text files to
     escaped HTML in a 'pre' tag
   * Modified build.xml to build and import Txt2Html task
   * Modified build.xml to generate foo.jsp.html instead of foo.jsp.txt
     using new Txt2Html task
   * Updated example HTML files to refer to foo.jsp.html instead of
     foo.jsp.txt
   * Fixed some broken links and broken image links in some HTML files
   * Fixed plugin example to use relative path name to applet codebase
     instead of absolute path

ADDED Files (attached):
   * jsr152/src/ant/task/Txt2Html.java

MODIFIED Files (see attached patch)
   * jsr152/build.xml
   * jsr152/examples/cal/calendar.html
   * jsr152/examples/checkbox/cresult.html
   * jsr152/examples/colors/clr.html
   * jsr152/examples/dates/date.html
   * jsr152/examples/error/er.html
   * jsr152/examples/forward/fwd.html
   * jsr152/examples/include/inc.html
   * jsr152/examples/jsp2/el/basic-arithmetic.html
   * jsr152/examples/jsp2/el/basic-comparisons.html
   * jsr152/examples/jsp2/el/functions.html
   * jsr152/examples/jsp2/el/implicit-objects.html
   * jsr152/examples/jsp2/jspattribute/jspattribute.html
   * jsr152/examples/jsp2/jspattribute/shuffle.html
   * jsr152/examples/jsp2/jspx/basic.html
   * jsr152/examples/jsp2/jspx/textRotate.html
   * jsr152/examples/jsp2/misc/config.html
   * jsr152/examples/jsp2/misc/dynamicattrs.html
   * jsr152/examples/jsp2/simpletag/book.html
   * jsr152/examples/jsp2/simpletag/hello.html
   * jsr152/examples/jsp2/simpletag/repeat.html
   * jsr152/examples/jsp2/tagfiles/hello.html
   * jsr152/examples/jsp2/tagfiles/panel.html
   * jsr152/examples/jsp2/tagfiles/products.html
   * jsr152/examples/jsptoserv/jts.html
   * jsr152/examples/num/numguess.html
   * jsr152/examples/plugin/plugin.html
   * jsr152/examples/plugin/plugin.jsp
   * jsr152/examples/sessions/crt.html
   * jsr152/examples/simpletag/foo.html
   * jsr152/examples/snp/snoop.html
   * jsr152/examples/xml/xml.html

---
Mark Roth, Java Software
JSP 2.0 Co-Specification Lead
Sun Microsystems, Inc.

Mime
View raw message