Hmmm... There's at least a trade off I know of... Some HTML Editors out
there don't like the token <% and even will sometimes translate it to
strange things like &lt;%. I didn't have any problem with <jsp:scriptlet/>
and <jsp:expr/> so far though...

----- Original Message -----
From: Kirkdorffer, Daniel <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, May 18, 1999 1:58 PM
Subject: Re: which one to use XML syntax v/s JSP syntax?


> 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".
>

===========================================================================
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".

Reply via email to