Don't know if that will work, but this does, and has an air of code reuse over it ;) :
org.apache.struts.util.ResponseUtils.write(pageContext, "This is what I want to say.");
hth,
tomK
------------------------
"Struts Users Mailing List" <[EMAIL PROTECTED]> wrote:
------------------------
>I haven't done it in a while, but isn't it something like:
>
>[in your doStartTag() method]
>
>JspWriter out = pageContext.getOut();
>out.print("Hello "+name+"!");
>
>Cheers,
>e.
>
>
>> -----Original Message-----
>> From: [EMAIL PROTECTED]
>> [mailto:[EMAIL PROTECTED]]
>> Sent: Tuesday, August 27, 2002 10:23 AM
>> To: [EMAIL PROTECTED]
>> Subject: Outputting from a taglib in struts
>>
>>
>>
>> I am playing with making a taglib and having the biggest
>> issues with it.
>>
>> I am trying to output and have been trying to use:
>>
>> pageContext.getOut().write("Hello "+name+"!");
>>
>> To write to the output. This only returns [Exception
>> in:/WEB-INF/jsp/twizard/mainmenu.jsp] null
>>
>> I am following a tutorial, sort-of... Does struts require anything
>> special? I would think not... (I am also using tiles if
>> that matters)
>>
>> Thanks
>>
>> PS. If anyone can recommend a tutorial I would be greatful...
>>
>>
>>
>>
>>
>>
>> --
>> To unsubscribe, e-mail:
>>
>> For additional commands, e-mail:
>>
>>
>
>
>**********************************************************************
>This message, including any attachments, contains confidential information intended
>for a specific individual and purpose, and is protected by law. If you are not the
>intended recipient, please contact sender immediately by reply e-mail and destroy all
>copies. You are hereby notified that any disclosure, copying, or distribution of
>this message, or the taking of any action based on it, is strictly prohibited.
>TIAA-CREF
>**********************************************************************
>
>--
>To unsubscribe, e-mail:
>For additional commands, e-mail:
>
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>