I loaded tomcat example, cal, it works. Please see this link:
http://jian.cirrata.net/zimbra/cal/login.html
I just copied and pasted your new jsp again, removed comments on the top, replaced domain_key and user, reviewed it with vi to make sure no line wrapper, BUT it gave me the same error:
http://jian.cirrata.net/zimbra/preauth.jsp