You've got to be kidding, you actually thing that

print <<THEEND

is vastly superior to

out.println("THEEND");

I count eight characters difference, look out carpal tunnel syndrome. =8^)
    (*Chris*)

----- Original Message -----
From: Lily Y. Fu <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, May 14, 1999 10:22 AM
Subject: Re: HTML Tags


> Probably it's not just servlet having the problem.
> I found java in general not handy at handling the
> println method to print out a block of text for example.
>
> It's very easy in perl to print out a block of text  like
> print <<THEEND
> what ever the text
> .....
> THEEND
>
> but with Java, you have to print out each line...
> and I also found println("( " + variabel + ") " + variable + "some
text" );
> is hard to read.
>
> Lily
>
> > One of the things on my wish list for servlets is that they would have a
print
> > tag similar to perl that allows you to define a block that would be
placed in
> > print tags.  This is very handy as most of you know when you have a
component
> > that generates HTML for your project.  I have ended up using HTML files
that I
> > read in and cache at servlet instatiation to get the same effect but a
print
> > block sure would be nice.  I have suggested this to Sun and I guess
we'll have
> > to wait and see if they see any value.  If your like me and would like
to see
> > this adopted into the next API spec then goto
> >
> >
http://java.sun.com/cgi-bin/feedback.pl?refurl=http://java.sun.com/nav/devel
oper/index.html
> >
> > and select Servlet Development Kit in the second drop down box and fill
out the
> > e-mail form.  This can be used for suggestions about Java API's.
> >
> > Luther
> >
> >
___________________________________________________________________________
> > 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
> >
>
>
___________________________________________________________________________
> 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
>

___________________________________________________________________________
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

Reply via email to