Actually the JSP syntax is
<%
scriplet code
%>
No comment on what the tradeoffs are - I'm just learning about XML myself.
Dan
> ----------
> From: Sanjay Gulabani[SMTP:[EMAIL PROTECTED]]
> Reply To: Sanjay Gulabani
> Sent: Monday, May 17, 1999 7:47 PM
> To: [EMAIL PROTECTED]
> Subject: which one to use XML syntax v/s JSP syntax?
>
> 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".