ASF Bugzilla – Attachment 24809 Details for
Bug 48498
6.0.22RC: ArrayIndexOutOfBoundsException from Jasper when compilation error inside a CDATA block
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
/webapps/examples/jsp/jsp2/jspx/basic.jspx
basic.jspx (text/plain), 2.13 KB, created by
Konstantin Kolinko
on 2010-01-06 19:47:10 UTC
(
hide
)
Description:
/webapps/examples/jsp/jsp2/jspx/basic.jspx
Filename:
MIME Type:
Creator:
Konstantin Kolinko
Created:
2010-01-06 19:47:10 UTC
Size:
2.13 KB
patch
obsolete
><!-- > Licensed to the Apache Software Foundation (ASF) under one or more > contributor license agreements. See the NOTICE file distributed with > this work for additional information regarding copyright ownership. > The ASF licenses this file to You under the Apache License, Version 2.0 > (the "License"); you may not use this file except in compliance with > the License. You may obtain a copy of the License at > > http://www.apache.org/licenses/LICENSE-2.0 > > Unless required by applicable law or agreed to in writing, software > distributed under the License is distributed on an "AS IS" BASIS, > WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. > See the License for the specific language governing permissions and > limitations under the License. >--> ><root xmlns:tags="urn:jsptagdir:/WEB-INF/tags" > xmlns:jsp="http://java.sun.com/JSP/Page" > xmlns:fmt="http://java.sun.com/jsp/jstl/fmt" > xmlns="http://www.w3.org/1999/xhtml"> ><tags:xhtmlbasic> > <jsp:directive.page contentType="text/html" /> > <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 &lt;jsp:root&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 prove 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> ><jsp:scriptlet> ><![CDATA[ > > > > foo >]]> ></jsp:scriptlet> ></root>
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 48498
:
24808
| 24809