This page is a place to experiment and learn about editing and formatting pages.
Please leave this introductory text for new users, but feel free to edit
anything below the line. Just click the "EDIT THIS PAGE" link and play!
For tips on formatting text, see PageFormatting 2
Some additions in this new version
- Diff mode - there's a "What's changed?" link at the bottom of a page
- nicer looking URLs: Friki Release Notes
- easier linking to JavaDocs by way of the Interwiki syntax: JavaDoc:javax.servlet.http.HttpServlet
- alphabetically sorted search results
- proper handling of non-ASCII wiki words and content (this one doesn't seem to work yet; I'll have to look into it)
- digits and more than a single uppercase letter are possible in local wiki links: SandBox2006? FAtHUmp?
- right-aligned images in addition to left-aligned ones
- much easier to add new transformation, because the regexps are no longer part of the code, but are kept in an external file
- intra-page links can now be made
- HTTPS links are now recognized
- definition lists can now contain colons
- searching is no longer case-sensitive
- two ways to link ISBNs to Amazon: ISBN 1234567890 pretty ISBN
- roundtripping of HTML entities through edits: é A Γ
This intra-page link jumps here:
Please play below the line.
What is a moose?
A member of the deer family with large antlers. It's scientific name is Alces alces.
A moose is a spruce goose named Bruce with a loose noose in his caboose always ready for a truce.
The above is the product of too much juice.
There's a moose caboose loose in the hoose tonight
A moose was asleep, dreaming of moose juice. A goose was asleep, dreaming of goose juice. The dreams came together and mixed up the juices. A moose can't drink goose juice, it's juice for gooses. And a goose can't drink moose juice its the juices of mooses!
import some.packaged.FileUtils;
private static void highlightFile(String name, File in, File out, boolean verbose)
throws IOException
{
out.getParentFile().mkdirs();
assert i % 3 == 2 : i;
XhtmlRendererFactory.getRenderer(FileUtils.getExtension(name))
.highlight(name,
in.toURL().openStream(),
new FileOutputStream(out),
encoding,
fragment);
if (verbose)
{
System.out.println("done.");
}
List<Boolean> list = new ArrayList<Booelan>();
if (i < 4) System.out.println("too oops, data < three");
System.out.println("http://faq.javaranch.com/view?FrontPage");
assertEquals("hello", "world");
}
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<welcome-file-list>
<welcome-file>index.html</welcome-file>
</welcome-file-list>
<cdata attribute="important">
<![CDATA[That's some CDATA!]]>
</cdata>
<frog />
</web-app>
public static final String NO_SESSION_FOUND = "NO_SESSION_FOUND";
This is a sortable table. Click on any of the labels in the header row, and watch what happens. Be sure to turn JavaScript on.
| Number | Text | Date |
| 1.05 | jj | 2/6/1968 |
| 1.1 | bla | 7/20/1987 |
| 2.999999999999999999999 | ML | 7/16/2006 |
| -5.0 | ee | 7/1/1987 |
|