No. When you use the response.getOut() you are streaming directly to the http response. A tag only executes scripted into the servlet generated by jasper after compiled a jsp page. good luck Bernardo
> Is it possible to use struts tags in a java file by using the > pageContext.getOut().print to send the tag to a jsp page. > > Here is an example: > > public class MyTag extends TagSupport { > > public int doEndTag() { > > pageContext.getOut().print("<TABLE width=100%>"); > pageContext.getOut().print("<TR class='trstandard'>"); > pageContext.getOut().print("<TD><html:link > page='//login.jsp'>Login</html:link></TD>"); > > return EVAL_PAGE; > } > } > > Thanks, > Karen > > > > -- > To unsubscribe, e-mail: > <mailto:[EMAIL PROTECTED]> For additional > commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>