So how do you write following ???

        out.println("<html><body><title>Somewhere over the
rainbow</title><P><table><td><tr>");
        out.println("<td><a
img=\"somewhere.gif\"></td></tr></table></body></html>");

Dragomir Milivojevic

ps. of course this is practical joke, I know what you are talking about
(oo-paradigm) that's why I asked you the "if( iLie() ) return true;"
question :-)

>
> Instead of doing something like this in your servlet:
>
>     out.println("<B><I>");
>     out.println("hello world!");
>     out.println("</I></B>");
>
> You can do this in your servlet:
>
>     B b = new B().addElement (new I("hello world!"));
>     out.println ( b.toString() );
>
> This creates the HTML on the output stream:
>
>     <B>hello world!</B>
>

___________________________________________________________________________
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