For Dynamic HTML pages with Data coming from a DB, how can we efficiently generate the HTML code from the servlets. Is there an easy way to embed data into a pre defined html form easily. One problem i am facing is a html page has lot of double quotes in the html code and it is a big chore to convert all the double quotes to single quotes when generating the HTML string. I was just curious how everyone else is doing this. -Hemanth
Paul Wetzel
Ranch Hand
Joined: Nov 02, 1999
Posts: 107
posted
0
your best bet is to use a combination of jsp and servlets. Put you presentation logic in the jsp and data/backend logic in your servlets. It makes things easier to maintain as well. good luck paul
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to
run our stuff on 16 servers instead of 3.