In order to satisfy the perl crowd,
and to see if it could be done, I've
done a proof of principle of embedding HTML in servlet code,
without println's.
What you do is:
1) extend uk.co.westhawk.servlet.sand.SandServlet
2) embed your HTML in tagged
java comments
3) get or print the tag's associated text.
I've put a simple example in the tar
file (which is at :
http://www.westhawk.co.uk/software/sand.tar)
I have some serious reservations about this technology- but I can
think of a couple of times when it
might have been a useful quick hack.
I should warn potential users that
I have added -no- error checking
or exception handling.
Tim.
URL http://www.westhawk.co.uk/
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html