Oh sure... although... slightly verbose... this is exactly what I need... Thanks!

Paul


On Jeudi, janv 23, 2003, at 21:15 Europe/Berlin, Mark R. Diggory wrote:

You could use the "arg" tag to put the string value of the url into the constructor?

<new var="url" className="java.lang.URL">
<arg type="java.lang.String" value="http://www.google.com"/>
</new>

Does anyone know of a way to obtain a java.net.URL object in Jelly ?
I tried <core:new> but it did not seem to work (I am not sure it qualifies enough as a bean).
I would like to use javascript but cannot find this anymore...
My need is to have the url-resolution mechanism which is in this class... built from a string.

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

Reply via email to