thanks very much guys :)
now it works !!
2009/6/18 Rob Walker
> in which case - your alias and path can probably both be "/Vue" when you
> register the resource. There are other options, but this is the simplest. It
> will only work though if it can find the required resource at the registered
>
in which case - your alias and path can probably both be "/Vue" when you
register the resource. There are other options, but this is the
simplest. It will only work though if it can find the required resource
at the registered path + resource path within the bundle JAR that calls
registerResour
/Vue is a package contained in my jar , and image.jpg is in /Vue
>
>
>
>
> -
> To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
> For additional commands, e-mail: users-h...@felix.apache.org
>
>
sana wrote:
how can i put image.jpg in my bundle ?
jar -?
-
To unsubscribe, e-mail: users-unsubscr...@felix.apache.org
For additional commands, e-mail: users-h...@felix.apache.org
how can i put image.jpg in my bundle ?
2009/6/18 Rob Walker
> Sana - as the guys say, this will only work if the following resource
> exists in the bundle calling registerResource():
>
>
> /home/sst/Documents/Versions/21-05-09+saufActionParam/MyPoint/src/Vue/image.jpg
>
> The handling for defaul
Sana - as the guys say, this will only work if the following resource
exists in the bundle calling registerResource():
/home/sst/Documents/Versions/21-05-09+saufActionParam/MyPoint/src/Vue/image.jpg
The handling for default Http context is to strip the alias from the resource
path (i.e leaving
Hi Sana,
the second parameter (resource) is a bundle resource path and not a
file path/folder.
Are those resources in you bundle ?
If you have "/Vue/img1.jpg,/Vue/img2.jpg" in your bundle, you can
refer to it exactly this way.
On 6/18/09, sana wrote:
> hello,
>
> i 'm trying to registre a pictur
I suppose the path you send as second param is a
file system path. That will not work only if you have your custom http
context and looks up resources in the file system.
Here is the part from the specs:
"The second parameter is an internal prefix to
map this resource to the bundle’s name-space. W
hello,
i 'm trying to registre a picture like a http ressource
http.registerResources("/Vue","/home/sst/Documents/Versions/21-05-09+saufActionParam/MyPoint/src/Vue",
null);
and i want to use it in the background of my servlet .
pw.print("");
pw.print("");
pw.print("");
9 matches
Mail list logo