dcsimg
How to obtain the object evaluated by a BodyContent
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Anonymous
Posted On:   Thursday, May 30, 2002 06:57 AM

I developed a tag to be used like this:

<%= "Hello" + "World" %>


The idea is then to pass the object resulting from the scriplet to a method of myobject.


I can get the expected "Hello World" String from the BodyContent.getString() method.


Now, if I want to pass a Random object:

<%= new Random() %>

it won't work.


Any idea about how to ahieve this?

About | Sitemap | Contact