[plt-scheme] html in servlets

From: Zhu Chongkai (mathematica at citiz.net)
Date: Sun May 16 09:51:30 EDT 2004

>Zhu Chongkai wrote:
>
>1. Example
>
>> <table>
>> <tr><th>Food</th><th>Drink</th><th>Sweet</th>
>An </tr> is missing at the end.
>
>> <tr><td>A</td><td>B</td><td>C</td>
>> </table>
>
>
>2. Example (worked)
>> <table>
>> <tr><th>Food</th><th>Drink</th><th>Sweet</th></tr>
>> <tr><td>A</td><td>B</td><td>C</td></tr>
>> </table>
>
>3. Example
>> <table border>
>
>The proper syntax is <table border="1!>.
>
>> <tr><th>Food</th><th>Drink</th><th>Sweet</th></tr>
>> <tr><td>A</td><td>B</td><td>C</td></tr>
>> </table>
>
>
>The "problem" is that DrScheme only allows wellformed
>HTML-expressions. This forces you to write proper
>HTML. When a browser sees an HTML-expression with
>errors it guesses, what was meant. Different browsers
>guess differently, so if you write non-proper HTML,
>you'll experience that your pages only look good
>in one browser.
>
>-- 
>Jens Axel Søgaard
>

Then how to use JavaScript in servlets? (that is, some 
code that can run at the client) 

Zhu Chongkai


Posted on the users mailing list.