[jboss-dev-forums] [Design of POJO Server] - vfsmemory urls are not working properly
adrian@jboss.org
do-not-reply at jboss.com
Tue Feb 19 12:52:30 EST 2008
I haven't debugged it to find the cause. I guess it is all the manual parsing
that's in this code? :-)
The problem occurs if you do
| URL url = new URL("vfsmemory://MYID/directory);
| URL sub = new URL(url, "sub");
|
The actual URL comes out incorrectly as:
vfsmemory://MYID/sub
instead of
vfsmemory://MYID/directory/sub
The obvious hack is to do
| URL sub = new URL(url + "/sub");
|
but generic code won't be able to do this.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4130493#4130493
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4130493
More information about the jboss-dev-forums
mailing list