Hello
I have chosen to write a class which generates a large
string filled with HTML code. Included in this string are a few taglibs references which are used to find the correct gif images.
The problem is that when I return this string to the
jsp page the taglibs are not executed. This ofcourse fair enogh since the jsp page expects to recieve a string result that is to be shown on the html page and nothing else. BUT I also need for the taglibs and eventually something else jsp related, to be parsed as it normally would be in a jsp page.
Just to mentioned I have tried with out.println() and <&= %>.
Is this possible?? :-)
the pseudo code for the jsp page:
<%@ taglib uri="/WEB-INF/tld/engine.tld" prefix="wps" %>
...html/jsp code here...
//Here the class is called that generates the dynamic html string.
//How do I get the jsp engine to parse this string as a part of the jsp
//pages and not only handle it as an ordinary string.
<%=HtmlGenerator().generateHTML(DataBean)%>
...html/jsp code here...