Rob,

I haven't done this myself, but I think it should be as simple as including
a taglib and using existing log4j
configuration.

<log:debug message="something to debug"/>

May be this could help.
http://jakarta.apache.org/taglibs/doc/log-doc/log-1.0/index.html

Thanks
Ram R


Rob Hills wrote:
> 
> Hi All,
> 
> I need to do some logging in a JSP and before I go and work out how to do 
> this, I thought I'd check that there wasn't any built-in support for it
> within 
> AppFuse or one of its contained frameworks.
> 
> I looked through the Struts and JSTL tag libraries and found nothing
> (apart 
> from a very thinly documented "debug" tag in the Struts 2 library that I 
> couldn't get to do anything but blow up my page).  I also hunted through
> the 
> jars in my project for likely looking tag libraries without success.
> 
> I'm looking at integrating the Jakarta Log tag library into my project,
> but 
> thought I'd check that I'm not reinventing a wheel here.
> 
> Cheers,
> Rob Hills
> Waikiki, Western Australia
> Mobile +61 (412) 904-357
> Fax: +61 (8) 9529-2137
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/AppFuse-2-%2B-Struts-2---JSP-logging-support--tf4869356s2369.html#a13936777
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to