>Hi,
>
[quoted text clipped - 5 lines]
>
>Can anybody point me to such classes or give other suggestions?
FWIW, I find that writing JSPs for rendering HTML much easier than
trying to do the same in a servlet.
But, if you insist on doing it that way, there are several frameworks
to help you out. One specifically I know if is this:
http://jakarta.apache.org/ecs/index.html
The Element Construction Set.
The Element Construction Set is a Java API for generating elements for
various markup languages it directly supports HTML 4.0 and XML, but
can easily be extended to create tags for any markup language. It is
designed and implemented by Stephan Nagy and Jon S. Stevens.
HTHs
--
now with more cowbell
Andreas Thiele - 17 Oct 2005 23:13 GMT
>>Hi,
>>
[quoted text clipped - 28 lines]
> --
> now with more cowbell
Thanks for the pointer. This is only roughly what I meant and I'd agree ecs
would not really make things easier than jsp.
But your message made me have a closer look to the other projects under
jakarta. Tapestry seems to be the thing I was looking for.
Andreas
Roedy Green - 18 Oct 2005 06:28 GMT
>But your message made me have a closer look to the other projects under
>jakarta. Tapestry seems to be the thing I was looking for.
the other place to look for interesting projects is sourceforge.
See http://mindprod.com/jgloss/sourceforge.html
My main complaint with them is very few of the projects have a decent
abstract.

Signature
Canadian Mind Products, Roedy Green.
http://mindprod.com Again taking new Java programming contracts.
Jon Martin Solaas - 18 Oct 2005 11:34 GMT
>>Hi,
>>
[quoted text clipped - 14 lines]
> http://jakarta.apache.org/ecs/index.html
> The Element Construction Set.
Ecs is suitable to render html if you develop web-controls. It is not
exactly helping out much if you want to develop web-apps using
web-controls, being pretty low level. It's a little more cumbersome than
writing the html in a jsp or servlet, but gives you compile-time
error-messages (which a jsp-compiler may also be able to provide).
There are literally hundreds of web-control projects out there being
much more geared towards development of web-applications and not
web-application frameworks and web-controls.
WingZ and a couple of others use html to render Swing applications on
the web, Millstone is a very component-oriented framework (albeit not
being very active developed these days, it seems, but that goes for ecs
as well ...). Struts is the defacto standard, but the controls are
implemented as taglibs and you still program the view in a markup
language (jsp with struts tags), you get lots and lots of useful support
for handling all the tedious nuts and bolts involved in web application
programming. Sun JSF is Suns attempt to standardize the java web-gui
beyond jsp. The list is really much, much longer ...

Signature
jon martin solaas