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>

Paul Libbrecht wrote:


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.

Thanks.

Paul


--
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