[this mail propably starts a new thread as I can't reply directly
to the previous email. sorry folks!]
Oh well, go ahead and try it [escaping the ampersand].
My results:
------------------------------------------escaped-test.jsp
<html>
<head><title>test</title></head>
<body>
<servlet name="DateServlet">
<param name="somehtml" value="\ ">
</servlet>
</body>
</html>
------------------------------------------escaped-test.jsp
Crash.
java.lang.IllegalArgumentException: Missing '=' in attribute key/value
pair
(This one was the original file)
------------------------------------------nonescaped-test.jsp
<html>
<head><title>test</title></head>
<body>
<servlet name="DateServlet">
<param name="somehtml" value=" ">
</servlet>
</body>
</html>
------------------------------------------nonescaped-test.jsp
Crash.
java.lang.IllegalArgumentException: Missing '=' in attribute key/value
pair
(Ampersand removed from this one)
------------------------------------------noampersand-test.jsp
<html>
<head><title>test</title></head>
<body>
<servlet name="DateServlet">
<param name="somehtml" value="nbsp;">
</servlet>
</body>
</html>
------------------------------------------noampersand-test.jsp
No crash. (But not ok, since I want my ampersand)
Fri Aug 25 10:03:14 GMT+02:00 2000
Conclusion: Escaping the ampersand doesnt work.
Any ideas?
-Tomi