This is what i was telling you before, the attribute has to be either a
expression or a constant, not both. so add the "_off.gif" part to the
tmp variable before you put it in the tags attribute.

like this:
<% String temp = sectionNames[i] + "_off.gif"; %>
<image:local file="<%= temp  %>" />

thats what i've done before to fix the problem.

dave


On Thu, 2003-12-18 at 20:33, Josh G wrote:
> Hi All,
> I've tracked down my problem, and despite tomcat's bogus error reporting 
> the problem is this code:
> 
> <image:local file="<%= tmp %>_off.gif" />
> 
> Which should work as far as I can tell, since I have rtexprvalue set to 
> true in the .tld file. Is this just being ignored for some reason?
> 
> Also, is it correct for tomcat to 500 if I move the <rtexprvalue> element 
> in the xml above the <required> or <name> elements?
> 
> Cheers,
> -Josh
> 
> 
>           "He likes to run, And then the thing with the.. person..
>                 ... Oh boy, that monkey is going to pay."
> 
>             [ Josh 'G' McDonald ]  --  [ Pirion Systems, Brisbane]
> 
> [ 07 3257 0490 ]  --  [ 0415 784 825 ]  --  [ http://www.gfunk007.com/ ] 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 



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

Reply via email to