Hi, Is it possible to return HTML formated TableModel in servlet response?
In simple words: Once my servlet is called via AJAX technology then I want to pull data from database, create TableModel object and populate it with my data and then get HTML formated table and return it in response from servlet. I was looking at TableModel and I see it is dependent on javax.servlet.jsp.PageContext and the HtmlTableWriter (probably the object that is used to produce HTML formated table) is dependent on javax.servlet.jsp.JspWriter. Is it possible to write my own implementations on JspWriter and PageContext which could be used to "fool" displayTag to produce HTML formated table into String which I could then returned from my AJAX servelt? Is there any better way how to solve my situation? Sorry if these questions have been asked/answered previously as I just joined the mail-list. Thanks, Lukas ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ displaytag-user mailing list displaytag-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/displaytag-user