tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kin...@apache.org
Subject cvs commit: jakarta-servletapi-5/jsr152/examples/jsp2/jspx basic.html basic.jspx svgexample.html textRotate.html textRotate.jpg textRotate.jspx
Date Thu, 01 May 2003 22:40:02 GMT
kinman      2003/05/01 15:40:02

  Modified:    jsr152   build.xml * /jsr152/build.xml - Now copies *.jspx
                        to *.jspx.txt in examples *
                        /jsr152/examples/index.html - Added link to new
                        JSPX examples (JSP 2.0 XML syntax) *
                        /jsr152/examples/jsp2/el/basic-arithmetic.jsp: -
                        Uncommented example for ternary operator (a?b:c) *
                        /jsr152/examples/jsp2/el/functions.jsp: - Changed
                        "${param["foo"]}" to cleaner '${param["foo"]}' *
                        /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: -
                        Fixed broken link ../index.html -->
                        ../../index.html PR: Obtained from: Submitted by:
                        Reviewed by:
               jsr152/examples index.html * /jsr152/build.xml - Now copies
                        *.jspx to *.jspx.txt in examples *
                        /jsr152/examples/index.html - Added link to new
                        JSPX examples (JSP 2.0 XML syntax) *
                        /jsr152/examples/jsp2/el/basic-arithmetic.jsp: -
                        Uncommented example for ternary operator (a?b:c) *
                        /jsr152/examples/jsp2/el/functions.jsp: - Changed
                        "${param["foo"]}" to cleaner '${param["foo"]}' *
                        /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: -
                        Fixed broken link ../index.html -->
                        ../../index.html PR: Obtained from: Submitted by:
                        Reviewed by:
               jsr152/examples/WEB-INF/tags * /jsr152/build.xml - Now
                        copies *.jspx to *.jspx.txt in examples *
                        /jsr152/examples/index.html - Added link to new
                        JSPX examples (JSP 2.0 XML syntax) *
                        /jsr152/examples/jsp2/el/basic-arithmetic.jsp: -
                        Uncommented example for ternary operator (a?b:c) *
                        /jsr152/examples/jsp2/el/functions.jsp: - Changed
                        "${param["foo"]}" to cleaner '${param["foo"]}' *
                        /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: -
                        Fixed broken link ../index.html -->
                        ../../index.html PR: Obtained from: Submitted by:
                        Reviewed by:
               jsr152/examples/jsp2/el basic-arithmetic.html
                        basic-arithmetic.jsp basic-comparisons.html
                        functions.html functions.jsp implicit-objects.html
                        * /jsr152/build.xml - Now copies *.jspx to
                        *.jspx.txt in examples *
                        /jsr152/examples/index.html - Added link to new
                        JSPX examples (JSP 2.0 XML syntax) *
                        /jsr152/examples/jsp2/el/basic-arithmetic.jsp: -
                        Uncommented example for ternary operator (a?b:c) *
                        /jsr152/examples/jsp2/el/functions.jsp: - Changed
                        "${param["foo"]}" to cleaner '${param["foo"]}' *
                        /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: -
                        Fixed broken link ../index.html -->
                        ../../index.html PR: Obtained from: Submitted by:
                        Reviewed by:
               jsr152/examples/jsp2/jspx * /jsr152/build.xml - Now copies
                        *.jspx to *.jspx.txt in examples *
                        /jsr152/examples/index.html - Added link to new
                        JSPX examples (JSP 2.0 XML syntax) *
                        /jsr152/examples/jsp2/el/basic-arithmetic.jsp: -
                        Uncommented example for ternary operator (a?b:c) *
                        /jsr152/examples/jsp2/el/functions.jsp: - Changed
                        "${param["foo"]}" to cleaner '${param["foo"]}' *
                        /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: -
                        Fixed broken link ../index.html -->
                        ../../index.html PR: Obtained from: Submitted by:
                        Reviewed by:
  Added:       jsr152   * jsr152/examples/jsp2/jspx/ *
                        jsr152/examples/jsp2/jspx/basic.jspx *
                        jsr152/examples/jsp2/jspx/basic.html *
                        jsr152/examples/jsp2/jspx/svgexample.html *
                        jsr152/examples/jsp2/jspx/textRotate.jspx *
                        jsr152/examples/jsp2/jspx/textRotate.jpg *
                        jsr152/examples/jsp2/jspx/textRotate.html *
                        jsr152/examples/WEB-INF/tags/xhtmlbasic.tag
               jsr152/examples * jsr152/examples/jsp2/jspx/ *
                        jsr152/examples/jsp2/jspx/basic.jspx *
                        jsr152/examples/jsp2/jspx/basic.html *
                        jsr152/examples/jsp2/jspx/svgexample.html *
                        jsr152/examples/jsp2/jspx/textRotate.jspx *
                        jsr152/examples/jsp2/jspx/textRotate.jpg *
                        jsr152/examples/jsp2/jspx/textRotate.html *
                        jsr152/examples/WEB-INF/tags/xhtmlbasic.tag
               jsr152/examples/WEB-INF/tags xhtmlbasic.tag *
                        jsr152/examples/jsp2/jspx/ *
                        jsr152/examples/jsp2/jspx/basic.jspx *
                        jsr152/examples/jsp2/jspx/basic.html *
                        jsr152/examples/jsp2/jspx/svgexample.html *
                        jsr152/examples/jsp2/jspx/textRotate.jspx *
                        jsr152/examples/jsp2/jspx/textRotate.jpg *
                        jsr152/examples/jsp2/jspx/textRotate.html *
                        jsr152/examples/WEB-INF/tags/xhtmlbasic.tag
               jsr152/examples/jsp2/el * jsr152/examples/jsp2/jspx/ *
                        jsr152/examples/jsp2/jspx/basic.jspx *
                        jsr152/examples/jsp2/jspx/basic.html *
                        jsr152/examples/jsp2/jspx/svgexample.html *
                        jsr152/examples/jsp2/jspx/textRotate.jspx *
                        jsr152/examples/jsp2/jspx/textRotate.jpg *
                        jsr152/examples/jsp2/jspx/textRotate.html *
                        jsr152/examples/WEB-INF/tags/xhtmlbasic.tag
               jsr152/examples/jsp2/jspx basic.html basic.jspx
                        svgexample.html textRotate.html textRotate.jpg
                        textRotate.jspx * jsr152/examples/jsp2/jspx/ *
                        jsr152/examples/jsp2/jspx/basic.jspx *
                        jsr152/examples/jsp2/jspx/basic.html *
                        jsr152/examples/jsp2/jspx/svgexample.html *
                        jsr152/examples/jsp2/jspx/textRotate.jspx *
                        jsr152/examples/jsp2/jspx/textRotate.jpg *
                        jsr152/examples/jsp2/jspx/textRotate.html *
                        jsr152/examples/WEB-INF/tags/xhtmlbasic.tag
  Log:
  - Patch by Mark Roth
  
  This is a patch to add a couple of examples of the new JSP 2.0 XML
  syntax (aka .jspx).  There are two examples - one is a simple XHTML
  Basic example and the other is an SVG example (requires Batik to view).
  
  Revision  Changes    Path
  1.7       +5 -0      jakarta-servletapi-5/jsr152/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/build.xml,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- build.xml	21 Mar 2003 01:53:48 -0000	1.6
  +++ build.xml	1 May 2003 22:39:50 -0000	1.7
  @@ -194,6 +194,11 @@
   
       <copy todir="${jsp-api.build}/examples">
         <fileset dir="examples"/>
  +      <mapper type="glob" from="*.jspx" to="*.jspx.txt"/>
  +    </copy>
  +    
  +    <copy todir="${jsp-api.build}/examples">
  +      <fileset dir="examples"/>
         <mapper type="glob" from="*.jspf" to="*.jspf.txt"/>
       </copy>
   
  
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  	<<Binary file>>
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  	<<Binary file>>
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  	<<Binary file>>
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  1.4       +18 -0     jakarta-servletapi-5/jsr152/examples/index.html
  
  Index: index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/index.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- index.html	29 Oct 2002 17:42:56 -0000	1.3
  +++ index.html	1 May 2003 22:39:53 -0000	1.4
  @@ -141,6 +141,24 @@
   </tr>
   
   <tr valign=TOP>
  +<td><br><b>New JSP XML Syntax (.jspx)</b></td>
  +</tr>
  +
  +<tr valign=TOP>
  +<td>XHTML Basic Example</td>
  +<td valign=TOP width="30%"><a href="jsp2/jspx/basic.jspx"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="jsp2/jspx/basic.jspx">Execute</a></td>
  +
  +<td width="30%"><a href="jsp2/jspx/basic.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/basic.html">Source</a></td>
  +</tr>
  +
  +<tr valign=TOP>
  +<td>SVG (Scalable Vector Graphics)</td>
  +<td valign=TOP width="30%"><a href="jsp2/jspx/svgexample.html"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="jsp2/jspx/svgexample.html">Execute</a></td>
  +
  +<td width="30%"><a href="jsp2/jspx/textRotate.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/textRotate.html">Source</a></td>
  +</tr>
  +
  +<tr valign=TOP>
   <td><br><b>Other JSP 2.0 Features</b></td>
   </tr>
   
  
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  	<<Binary file>>
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  1.4       +18 -0     jakarta-servletapi-5/jsr152/examples/index.html
  
  Index: ../../index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/index.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ../../index.html	29 Oct 2002 17:42:56 -0000	1.3
  +++ ../../index.html	1 May 2003 22:39:53 -0000	1.4
  @@ -141,6 +141,24 @@
   </tr>
   
   <tr valign=TOP>
  +<td><br><b>New JSP XML Syntax (.jspx)</b></td>
  +</tr>
  +
  +<tr valign=TOP>
  +<td>XHTML Basic Example</td>
  +<td valign=TOP width="30%"><a href="jsp2/jspx/basic.jspx"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="jsp2/jspx/basic.jspx">Execute</a></td>
  +
  +<td width="30%"><a href="jsp2/jspx/basic.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/basic.html">Source</a></td>
  +</tr>
  +
  +<tr valign=TOP>
  +<td>SVG (Scalable Vector Graphics)</td>
  +<td valign=TOP width="30%"><a href="jsp2/jspx/svgexample.html"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="jsp2/jspx/svgexample.html">Execute</a></td>
  +
  +<td width="30%"><a href="jsp2/jspx/textRotate.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/textRotate.html">Source</a></td>
  +</tr>
  +
  +<tr valign=TOP>
   <td><br><b>Other JSP 2.0 Features</b></td>
   </tr>
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1                  jakarta-servletapi-5/jsr152/examples/WEB-INF/tags/xhtmlbasic.tag
  
  Index: xhtmlbasic.tag
  ===================================================================
  <%-- 
     - Copyright (c) 2002 The Apache Software Foundation.  All rights 
     - reserved.
     -
     - Outputs the DOCTYPE and root element for XHTML basic documents.
  --%>
  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML Basic 1.0//EN"
  "http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
  <jsp:doBody/>
  </html>
  
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  	<<Binary file>>
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  1.3       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-arithmetic.html
  
  Index: basic-arithmetic.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-arithmetic.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- basic-arithmetic.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ basic-arithmetic.html	1 May 2003 22:39:57 -0000	1.3
  @@ -9,7 +9,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="basic-arithmetic.jsp"><img src="../../images/execute.gif"
align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif"
width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="basic-arithmetic.jsp"><img src="../../images/execute.gif"
align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif"
width="24" height="24" align="right" border="0"></a></font></p>
   
   <h3><a href="basic-arithmetic.jsp.txt">Source Code for Basic Arithmetic Example<font
color="#0000FF"></a>
     </font> </h3>
  
  
  
  1.3       +4 -6      jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-arithmetic.jsp
  
  Index: basic-arithmetic.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-arithmetic.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- basic-arithmetic.jsp	21 Mar 2003 00:54:06 -0000	1.2
  +++ basic-arithmetic.jsp	1 May 2003 22:39:57 -0000	1.3
  @@ -61,12 +61,10 @@
   	    <td>\${10 mod 4}</td>
   	    <td>${10 mod 4}</td>
   	  </tr>
  -<%-- XXX - NOT YET IMPLEMENTED
  -          <tr>
  -            <td>\${(1==2) ? 3 : 4}</td>
  -            <td>${(1==2) ? 3 : 4}</td>
  -          </tr>
  ---%>
  +    <tr>
  +      <td>\${(1==2) ? 3 : 4}</td>
  +      <td>${(1==2) ? 3 : 4}</td>
  +    </tr>
   	</table>
         </code>
       </blockquote>
  
  
  
  1.3       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-comparisons.html
  
  Index: basic-comparisons.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/basic-comparisons.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- basic-comparisons.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ basic-comparisons.html	1 May 2003 22:39:57 -0000	1.3
  @@ -9,7 +9,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="basic-comparisons.jsp"><img src="../../images/execute.gif"
align="right" border="0"></a><a href="../index.html"><img src="../../images/return.gif"
width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="basic-comparisons.jsp"><img src="../../images/execute.gif"
align="right" border="0"></a><a href="../../index.html"><img src="../../images/return.gif"
width="24" height="24" align="right" border="0"></a></font></p>
   
   <h3><a href="basic-comparisons.jsp.txt">Source Code for Basic Comparisons Example<font
color="#0000FF"></a>
     </font> </h3>
  
  
  
  1.3       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/el/functions.html
  
  Index: functions.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/functions.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- functions.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ functions.html	1 May 2003 22:39:57 -0000	1.3
  @@ -9,7 +9,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="functions.jsp?foo=JSP+2.0"><img
src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img
src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="functions.jsp?foo=JSP+2.0"><img
src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img
src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
   <h3><a href="functions.jsp.txt">Source Code for functions.jsp<font color="#0000FF"></a>
     </font> </h3>
  
  
  
  1.3       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/el/functions.jsp
  
  Index: functions.jsp
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/functions.jsp,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- functions.jsp	21 Mar 2003 00:54:06 -0000	1.2
  +++ functions.jsp	1 May 2003 22:39:57 -0000	1.3
  @@ -15,7 +15,7 @@
       <blockquote>
         <u><b>Change Parameter</b></u>
         <form action="functions.jsp" method="GET">
  -	  foo = <input type="text" name="foo" value="${param["foo"]}">
  +	  foo = <input type="text" name="foo" value="${param['foo']}">
             <input type="submit">
         </form>
         <br>
  
  
  
  1.3       +1 -1      jakarta-servletapi-5/jsr152/examples/jsp2/el/implicit-objects.html
  
  Index: implicit-objects.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/el/implicit-objects.html,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- implicit-objects.html	21 Mar 2003 01:53:48 -0000	1.2
  +++ implicit-objects.html	1 May 2003 22:39:57 -0000	1.3
  @@ -9,7 +9,7 @@
   </head>
   
   <body bgcolor="#FFFFFF">
  -<p><font color="#0000FF"><a href="implicit-objects.jsp?foo=bar"><img
src="../../images/execute.gif" align="right" border="0"></a><a href="../index.html"><img
src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
  +<p><font color="#0000FF"><a href="implicit-objects.jsp?foo=bar"><img
src="../../images/execute.gif" align="right" border="0"></a><a href="../../index.html"><img
src="../../images/return.gif" width="24" height="24" align="right" border="0"></a></font></p>
   
   <h3><a href="implicit-objects.jsp.txt">Source Code for Implicit Objects Example<font
color="#0000FF"></a>
     </font> </h3>
  
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  1.4       +18 -0     jakarta-servletapi-5/jsr152/examples/index.html
  
  Index: ../../index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/index.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ../../index.html	29 Oct 2002 17:42:56 -0000	1.3
  +++ ../../index.html	1 May 2003 22:39:53 -0000	1.4
  @@ -141,6 +141,24 @@
   </tr>
   
   <tr valign=TOP>
  +<td><br><b>New JSP XML Syntax (.jspx)</b></td>
  +</tr>
  +
  +<tr valign=TOP>
  +<td>XHTML Basic Example</td>
  +<td valign=TOP width="30%"><a href="jsp2/jspx/basic.jspx"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="jsp2/jspx/basic.jspx">Execute</a></td>
  +
  +<td width="30%"><a href="jsp2/jspx/basic.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/basic.html">Source</a></td>
  +</tr>
  +
  +<tr valign=TOP>
  +<td>SVG (Scalable Vector Graphics)</td>
  +<td valign=TOP width="30%"><a href="jsp2/jspx/svgexample.html"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="jsp2/jspx/svgexample.html">Execute</a></td>
  +
  +<td width="30%"><a href="jsp2/jspx/textRotate.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/textRotate.html">Source</a></td>
  +</tr>
  +
  +<tr valign=TOP>
   <td><br><b>Other JSP 2.0 Features</b></td>
   </tr>
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  	<<Binary file>>
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
                       
  
  
  1.4       +18 -0     jakarta-servletapi-5/jsr152/examples/index.html
  
  Index: ../../index.html
  ===================================================================
  RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/index.html,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- ../../index.html	29 Oct 2002 17:42:56 -0000	1.3
  +++ ../../index.html	1 May 2003 22:39:53 -0000	1.4
  @@ -141,6 +141,24 @@
   </tr>
   
   <tr valign=TOP>
  +<td><br><b>New JSP XML Syntax (.jspx)</b></td>
  +</tr>
  +
  +<tr valign=TOP>
  +<td>XHTML Basic Example</td>
  +<td valign=TOP width="30%"><a href="jsp2/jspx/basic.jspx"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="jsp2/jspx/basic.jspx">Execute</a></td>
  +
  +<td width="30%"><a href="jsp2/jspx/basic.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/basic.html">Source</a></td>
  +</tr>
  +
  +<tr valign=TOP>
  +<td>SVG (Scalable Vector Graphics)</td>
  +<td valign=TOP width="30%"><a href="jsp2/jspx/svgexample.html"><img src="images/execute.gif"
hspace=4 border=0  align=top></a><a href="jsp2/jspx/svgexample.html">Execute</a></td>
  +
  +<td width="30%"><a href="jsp2/jspx/textRotate.html"><img SRC="images/code.gif"
HSPACE=4 BORDER=0 height=24 width=24 align=TOP></a><a href="jsp2/jspx/textRotate.html">Source</a></td>
  +</tr>
  +
  +<tr valign=TOP>
   <td><br><b>Other JSP 2.0 Features</b></td>
   </tr>
   
  
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  No                   revision
  
  
  1.1                  jakarta-servletapi-5/jsr152/examples/jsp2/jspx/basic.html
  
  Index: basic.html
  ===================================================================
  <html>
  <!--
    Copyright (c) 1999 The Apache Software Foundation.  All rights 
    reserved.
  -->
  <head>
  <title>View Source Code</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  </head>
  
  <body bgcolor="#FFFFFF">
  <p><font color="#0000FF"><a href="basic.jspx"><img src="../../images/execute.gif"
align="right" border="0"></a><a
  href="../../index.html"><img src="../../images/return.gif" width="24" height="24"
align="right" border="0"></a></font></p>
  
  <h3><a href="basic.jspx.txt">Source Code for XHTML Basic Example<font color="#0000FF"></a>
    </font> </h3>
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-servletapi-5/jsr152/examples/jsp2/jspx/basic.jspx
  
  Index: basic.jspx
  ===================================================================
  <tags:xhtmlbasic xmlns:tags="urn:jsptagdir:/WEB-INF/tags"
                   xmlns:jsp="http://java.sun.com/JSP/Page"
                   xmlns:fmt="http://java.sun.com/jstl/fmt_rt">
    <head>
      <title>JSPX - XHTML Basic Example</title>
    </head>
    <body>
      <h1>JSPX - XHTML Basic Example</h1>
      <hr/>
      This example illustrates how to use JSPX to produce an XHTML basic
      document suitable for use with mobile phones, televisions, 
      PDAs, vending machines, pagers, car navigation systems,
      mobile game machines, digital book readers, smart watches, etc.
      <p/>
      JSPX lets you create dynamic documents in a pure XML syntax compatible
      with existing XML tools.  The XML syntax in JSP 1.2 was awkward and
      required &amp;lt;jsp:root&amp;gt; to be the root element of the document.
      This is no longer the case in JSP 2.0.
      <p/>
      This particular example uses a tag file to produce the DOCTYPE and
      namespace declarations to make the output of this page a valid XHTML
      Basic document.
      <p/>
      Just to proove this is live, here's some dynamic content:
      <jsp:useBean id="now" class="java.util.Date" />
      <fmt:formatDate value="${now}" pattern="MMMM d, yyyy, H:mm:ss"/>
    </body>
  </tags:xhtmlbasic>
  
  
  
  1.1                  jakarta-servletapi-5/jsr152/examples/jsp2/jspx/svgexample.html
  
  Index: svgexample.html
  ===================================================================
  <html>
    <head>
      <title>JSP 2.0 SVG Example</title>
    </head>
    <body>
      <h1>JSP 2.0 SVG Example</h1>
      <hr>
      This example uses JSP 2.0's new, simplified JSPX syntax to render a
      Scalable Vector Graphics (SVG) document.  When you view the source,
      notice the lack of a &lt;jsp:root&gt; element!  The text to be rendered 
      can be modified by changing the value of the name parameter.
      <p>
      SVG has many potential uses, such as searchable images, or images
      customized with the name of your site's visitor (e.g. a "Susan's Store"
      tab image).  JSPX is a natural fit for generating dynamic XML content
      such as SVG.
      <p>
      To execute this example, follow these steps:
      <ol>
        <li>Download <a href="http://xml.apache.org/batik/index.html">Batik</a>,
            or any other SVG viewer.</li>
        <li>Copy the following URL:
        <a href="http://localhost:8080/jsp-examples/jsp2/jspx/textRotate.jspx?name=JSPX">
        http://localhost:8080/jsp-examples/jsp2/jspx/textRotate.jspx?name=JSPX</a>
        </li>
        <li>Paste the URL into Batik's Location field and press Enter</li>
        <li>Customize by changing the name=JSPX parameter</li>
      </ol>
      <br>
      The following is a screenshot of the resulting image, for those that
      don't have an SVG viewer:
      <blockquote>
        <img src="textRotate.jpg" border="1">
      </blockquote>
    </body>
  </html>
  
  
  
  1.1                  jakarta-servletapi-5/jsr152/examples/jsp2/jspx/textRotate.html
  
  Index: textRotate.html
  ===================================================================
  <html>
  <!--
    Copyright (c) 1999 The Apache Software Foundation.  All rights 
    reserved.
  -->
  <head>
  <title>View Source Code</title>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
  </head>
  
  <body bgcolor="#FFFFFF">
  <p><font color="#0000FF"><a href="textRotate.jspx"><img src="../../images/execute.gif"
align="right" border="0"></a><a
  href="../../index.html"><img src="../../images/return.gif" width="24" height="24"
align="right" border="0"></a></font></p>
  
  <h3><a href="textRotate.jspx.txt">Source Code for SVG (Scalable Vector Graphics)
  Example<font color="#0000FF"></a>
    </font> </h3>
  
  </body>
  </html>
  
  
  
  1.1                  jakarta-servletapi-5/jsr152/examples/jsp2/jspx/textRotate.jpg
  
  	<<Binary file>>
  
  
  1.1                  jakarta-servletapi-5/jsr152/examples/jsp2/jspx/textRotate.jspx
  
  Index: textRotate.jspx
  ===================================================================
  <!-- 
    - This example is based off the textRotate.svg example that comes
    - with Batik.  The original example was written by Bill Haneman.
    - This version by Mark Roth.
    -->
  <svg xmlns="http://www.w3.org/2000/svg"
       width="450" height="500" viewBox="0 0 450 500"
       xmlns:c="http://java.sun.com/jstl/core_rt"
       xmlns:jsp="http://java.sun.com/JSP/Page">
    <title>JSP 2.0 JSPX</title>
    <!-- select name parameter, or default to JSPX -->
    <c:set var="name" value='${empty param["name"] ? "JSPX" : param["name"]}'/>
    <g id="testContent">
      <text class="title" x="50%" y="10%" font-size="15" text-anchor="middle" >
              JSP 2.0 XML Syntax (.jspx) Demo</text>
      <text class="title" x="50%" y="15%" font-size="15" text-anchor="middle" >
              Try changing the name parameter!</text>
      <g opacity="1.0" transform="translate(225, 250)" id="rotatedText">
        <c:forEach var="i" begin="1" end="24">
          <jsp:text>
            <![CDATA[<g opacity="0.95" transform="scale(1.05) rotate(15)">]]>
          </jsp:text>
          <text x="0" y="0" transform="scale(1.6, 1.6)" fill="DarkSlateBlue" 
                text-anchor="middle" font-size="40" font-family="Serif" 
                id="words">${name}</text>
        </c:forEach>
        <c:forEach var="i" begin="1" end="24">
          <jsp:text><![CDATA[</g>]]></jsp:text>
        </c:forEach>
        <text style="font-size:75;font-family:Serif;fill:white" 
              text-anchor="middle">${name}</text>
      </g>
    </g>
  </svg>
  
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  	<<Binary file>>
  
  
  No                   revision
  
  
                       
  
  
  No                   revision
  
  
                       
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org


Mime
View raw message