commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Libbrecht <p...@activemath.org>
Subject Re: [jelly] How to get a URL object ?
Date Thu, 23 Jan 2003 21:46:45 GMT
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.


Mime
View raw message