Use a template tool such as WebMacro. It allows you to keep the HTML
separate from your template. You build up your output data in a hashtable
and pass that to the template when you execute it.

WebMacro takes care of figuring out how to extract the data you need from
the objects in the hashtable, providing you follow the beans spec.

   http://webmacro.org

WebMacro was recently rated the 3rd best product of 1999 in the servlet
category by the Java Report. It's also free.

Justin


Quoting Vinay Kulkarni ([EMAIL PROTECTED]):
> Hello friends,
> I am using servlets.
>
> I have a HTML form which on submition passes data to a servlet. How do I
> return the data to the HTML page & display it. I don't want to embeed the
> HTML code in the servlet.
> Please can any one help me on this?.
>
>
> Kind regards
>
>
> Vinay
>
> ______________________________________________________
> Get Your Private, Free Email at http://www.hotmail.com
>
> ___________________________________________________________________________
> 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