The current situation is that JSP 1.0 engines are _not_ required to support
the XML syntax. Even if they do support it, they are not required to
support XML syntax like <jsp:scriptlet> anywhere but in documents that are
entirely XML-format.
The leading JSP webserver vendors can speak for themselves. But if you want
to stick to the standard and write portable documents, don't use XML
syntax.
Bob Foster
Symantec Internet Tools http://www.visualcafe.com/
______________________________ Reply Separator _________________________________
Subject: which one to use XML syntax v/s JSP syntax?
Author: Sanjay Gulabani <[EMAIL PROTECTED]> at Internet
Date: 5/17/99 7:47 PM
I have been playing around with JSP 1.0 reference implementation and
JSP specification provides alternate XML syntax to JSP syntax for
writing Java Server Pages,
eg. XML syntax
<jsp: scriptlet>
register.processRequest(request);
</jsp:scriplet>
vs JSP syntax:
<%>
register.processRequest(request);
<%>
also <%=> in JSP versus in XML <jsp:expr> </jsp:expr>
My question is which is meant to more preferable way? Are JSP engines
going to support both (is it mandatory).
What are the trade-offs, if any?? I prefer XML than the JSP syntax (for
simple reason that jsp syntax is less readable to me) What are leading
JSP-compliant webserver vendors going to support?
Thanks,
Sanjay
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JSP-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".