scripting variables and custom tags

Hello,

I wonder how I could use a scripting variable in a custom tag? I have written a tag that formats number and dates, and would like to be able to do somethin like

<% double x = 12,345; %>

<x:write name="x" format="xyz" />

Also I wonder how best to implement tags with parameters? I don't suppose it's possible to nest tags or scriplets in a way like <x:bla name="test" value="<%= 12345 %>" />? It seems tedious having to create an Object just to pass a Parameter.

Many thanks in advance for any help!

Bjoern

[595 byte] By [iion_tichy] at [2007-9-26 1:39:18]
# 1
I think I found the solution, pageContext.setAttribute(...,...)
iion_tichy at 2007-6-29 2:28:16 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...