Try using a template based approach, and get the HTML out of your
servlet entirely.

  http://webmacro.org/

Justin

Quoting Luther Andal ([EMAIL PROTECTED]):
> 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/developer/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

Reply via email to