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]>

Reply via email to