Karen,

This the type of question that should be asked on struts-user.  The
struts-dev mailing list is for people working on the implementation of
Struts itself.

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 12:52 PM
> To: [EMAIL PROTECTED]
> Subject: struts tags in java file
> 
> 
> 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]>

Reply via email to