You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ki...@apache.org on 2003/05/05 19:00:55 UTC
cvs commit: jakarta-servletapi-5/jsr152/examples/jsp2/jspx basic.jspx textRotate.jspx
kinman 2003/05/05 10:00:55
Modified: jsr152/examples/jsp2/jspx basic.jspx textRotate.jspx
Log:
- Patch by Mark Roth
Add the proper MIME types for the content the
JSPX examples generate.
jsr152/examples/jsp2/jspx/textRotate.jspx:
- Added content type of image/svg+xml
jsr152/examples/jsp2/jspx/basic.jspx:
- Added content type of text/html
Revision Changes Path
1.2 +1 -0 jakarta-servletapi-5/jsr152/examples/jsp2/jspx/basic.jspx
Index: basic.jspx
===================================================================
RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/jspx/basic.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- basic.jspx 1 May 2003 22:39:59 -0000 1.1
+++ basic.jspx 5 May 2003 17:00:55 -0000 1.2
@@ -1,6 +1,7 @@
<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">
+ <jsp:directive.page contentType="text/html" />
<head>
<title>JSPX - XHTML Basic Example</title>
</head>
1.2 +1 -0 jakarta-servletapi-5/jsr152/examples/jsp2/jspx/textRotate.jspx
Index: textRotate.jspx
===================================================================
RCS file: /home/cvs/jakarta-servletapi-5/jsr152/examples/jsp2/jspx/textRotate.jspx,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- textRotate.jspx 1 May 2003 22:39:59 -0000 1.1
+++ textRotate.jspx 5 May 2003 17:00:55 -0000 1.2
@@ -7,6 +7,7 @@
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">
+ <jsp:directive.page contentType="image/svg+xml" />
<title>JSP 2.0 JSPX</title>
<!-- select name parameter, or default to JSPX -->
<c:set var="name" value='${empty param["name"] ? "JSPX" : param["name"]}'/>
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org