Hi,
I have a problem rendering struts tags on a JSP.
I need to include the dynamic content (containing struts tags) generated by a servlet, within a jsp page and rendered properly.
test.jsp
=================
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld " prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<html:html>
<body>
<html:form method="POST" action="/myaction">
<jsp:include page="/transform" flush="false"/>
</html:form>
</body>
</html:html>
where /transform invokes a servlet that generates content in text/html containing struts tags using xsl transformation.
However, in the resulting page the strut tags from the servlet are rendered as is and not converted into the respective html tags. It works fine if the contents had only html tags and not any struts tags. I understand that the page translation of test.jsp is already complete before the dynamic content is included within the page, causing the struts tags to be rendered as is. Is there a work around?
Does the idea make sense in the first place and if yes could someone let me know how this can be achieved?
Regards
S John