Should I use HTML Java libraries (eg. BEA's konaHTML) or raw HTML to generate my pages? What are the pros and cons?

Jeff Williams

I don't see many 'pros' to using print statements with raw HTML. I've used kona and the Java apache project's ECS with great results. The major pro is that you can build reusable components so that you don't have to repeat stuff. That said, I can definitely understand those folks who like the MVC pattern and want to separate the GUI (view) from the logic. I think the best approach for this is to use a master servlet that handles security and parameters, then loads and sends the appropriate JSP (the view). --Jeff