Hi Scott,

That works! Thanks a lot. FYI, I am using Tomcat 4.0b7

Jayesh

-----Original Message-----
From: Scott Farquhar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, November 28, 2001 6:09 PM
To: Log4J Users List
Subject: Re: logtag


This is a problem with your jsp engine and not necessarily log4j.

try:

<% myString = "this is a message " + myString; %>

<log:debug message="<%=myString%>"/>

Some jsp engines can't concatenate strings inside the tags.

Cheers,
Scott

-- 
Scott Farquhar :: [EMAIL PROTECTED]

Atlassian :: http://www.atlassian.com
      Supporting YOUR J2EE World



Jayesh K. Parayali wrote:

> 
>> -----Original Message-----
>>From:         Jayesh K. Parayali  
>>Sent: Friday, November 23, 2001 10:30 AM
>>To:   '[EMAIL PROTECTED]'
>>Subject:      logtag
>>
>>Hi,
>>
>>I started using log4j tag library just today.
>>
>>I want to display a message with a String in it. I tried the code like
>>below and it does not work.
>>
>><log:debug message="this is a message<%=myString%>"/>
>>
>>I appreciate any help.
>>
>>Thanks,
>>Jayesh
>>
> 
> --
> 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]>


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

Reply via email to