# Re: preformatted text

Roland Schemers (Roland.Schemers@Eng)
Mon, 3 Nov 1997 12:23:41 -0800 (PST)

- Messages sorted by: [ date ][ thread ][ subject ][ author ]
- Next message: Charlie Lai: "Re: JDK 1.1 Signed Applet Example Problem"
- Previous message: Bill Yakowenko: "preformatted text"
- Maybe in reply to: Bill Yakowenko: "preformatted text"

    Date: Mon, 3 Nov 1997 12:23:41 -0800 (PST)

    From: Roland Schemers <Roland.Schemers@Eng>

    Subject: Re: preformatted text

    To: java-security@web2.javasoft.com, yakowenk@raleigh.ibm.com

Thanks. I haved fixed this and it should show up on the external site
shortly.

roland

> Date: Mon, 03 Nov 1997 15:16:45 -0500
> From: Bill Yakowenko <yakowenk@raleigh.ibm.com>
> Mime-Version: 1.0
> To: java-security@web2.javasoft.com
> Subject: preformatted text
> Content-Transfer-Encoding: 7bit
>
> 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: Charlie Lai: "Re: JDK 1.1 Signed Applet Example Problem"
- Previous message: Bill Yakowenko: "preformatted text"
- Maybe in reply to: Bill Yakowenko: "preformatted text"