# preformatted text

Bill Yakowenko (yakowenk@raleigh.ibm.com)
Mon, 03 Nov 1997 15:16:45 -0500

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Roland Schemers: "Re: preformatted text"
- Previous message: Alexis Moussine-Pouchkine: "JDK 1.1 Signed Applet Example Problem"
- Next in thread: Roland Schemers: "Re: preformatted text"

    Message-Id: <345E312D.41C6@raleigh.ibm.com>

    Date: Mon, 03 Nov 1997 15:16:45 -0500

    From: Bill Yakowenko <yakowenk@raleigh.ibm.com>

    To: java-security@web2.javasoft.com

    Subject: preformatted text

There is a goof on your web page at this URL:

http://java.sun.com/security/signExample/index.html

It seems somebody forgot that text inside the <pre>...</pre> HTML
tags is still interpreted as HTML. So, there is a section of that
web page that says this:

| You might wonder, what does the HTML tag look like, for a signed
| archive?
|
| <pre>
| <applet code=writeFile.class archive="signedWriteFile.jar" width=500
| height=50>
| </applet>
| </pre>
|
| That's all there is to it...

But instead of showing that sample HTML as plain text, it actually
tries to load and run the applet, and fails. You probably wanted
something like this instead, which uses &lt; and &gt instead of the
troublesome less-than and greater-than signs in the sample HTML:

| You might wonder, what does the HTML tag look like, for a signed
| archive?
|
| <pre>
| &lt;applet code=writeFile.class archive="signedWriteFile.jar"
| width=500 height=50&gt;
| &lt;/applet&gt;
| </pre>
|
| That's all there is to it...

Cheers,
Bill.

- Next message: Roland Schemers: "Re: preformatted text"
- Previous message: Alexis Moussine-Pouchkine: "JDK 1.1 Signed Applet Example Problem"
- Next in thread: Roland Schemers: "Re: preformatted text"