You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by Ioannis Mavroukakis <im...@gameaccount.com> on 2010/05/23 20:05:50 UTC

Loading and/or accessing file resources trouble

Hello fellow Wicketers.

Apologies if this question has been answered  before, but taking a stroll through the list archives didn't dispel my confusion. I am using db4o for a trivial
site I am building, and I am trying to figure out what is the canonical Wicket way to obtain a File reference to the DB file, the location of which will have to be
outside the war deployment path.

Thanks in advance,

Yiannis
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Loading and/or accessing file resources trouble

Posted by Ioannis Mavroukakis <im...@gameaccount.com>.
Well the advice to use PackageResource for example

http://apache-wicket.1842946.n4.nabble.com/How-to-read-the-properties-file-in-wicket-td1855403.html

I was expecting some nice clean way in wicket to provide access to a file deployed alongside the rest of the classes, my bad.

Y.

On 23 May 2010, at 20:50, Igor Vaynberg wrote:

> what is that have to do with wicket?
> 
> -igor
> 
> On Sun, May 23, 2010 at 11:05 AM, Ioannis Mavroukakis
> <im...@gameaccount.com> wrote:
>> Hello fellow Wicketers.
>> 
>> Apologies if this question has been answered  before, but taking a stroll through the list archives didn't dispel my confusion. I am using db4o for a trivial
>> site I am building, and I am trying to figure out what is the canonical Wicket way to obtain a File reference to the DB file, the location of which will have to be
>> outside the war deployment path.
>> 
>> Thanks in advance,
>> 
>> Yiannis
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________


Re: Loading and/or accessing file resources trouble

Posted by Jeremy Thomerson <je...@wickettraining.com>.
On Sun, May 23, 2010 at 4:17 PM, Ioannis Mavroukakis <
imavroukakis@gameaccount.com> wrote:

> Well the advice to use PackageResource for example
>
>
> http://apache-wicket.1842946.n4.nabble.com/How-to-read-the-properties-file-in-wicket-td1855403.html
>
> I was expecting some nice clean way in wicket to provide access to a file
> deployed alongside the rest of the classes, my bad.
>
>
But you said in your original post that it would be "outside the war
deployment path".

--
Jeremy Thomerson
http://www.wickettraining.com

Re: Loading and/or accessing file resources trouble

Posted by Ioannis Mavroukakis <im...@gameaccount.com>.
Well the advice to use PackageResource for example

http://apache-wicket.1842946.n4.nabble.com/How-to-read-the-properties-file-in-wicket-td1855403.html

I was expecting some nice clean way in wicket to provide access to a file deployed alongside the rest of the classes, my bad.

Y.

On 23 May 2010, at 20:50, Igor Vaynberg wrote:

> what is that have to do with wicket?
> 
> -igor
> 
> On Sun, May 23, 2010 at 11:05 AM, Ioannis Mavroukakis
> <im...@gameaccount.com> wrote:
>> Hello fellow Wicketers.
>> 
>> Apologies if this question has been answered  before, but taking a stroll through the list archives didn't dispel my confusion. I am using db4o for a trivial
>> site I am building, and I am trying to figure out what is the canonical Wicket way to obtain a File reference to the DB file, the location of which will have to be
>> outside the war deployment path.
>> 
>> Thanks in advance,
>> 
>> Yiannis
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
>> For additional commands, e-mail: users-help@wicket.apache.org
>> 
>> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
> 
> 
> ______________________________________________________________________
> This email has been scanned by the MessageLabs Email Security System.
> For more information please visit http://www.messagelabs.com/email 
> ______________________________________________________________________


Re: Loading and/or accessing file resources trouble

Posted by Igor Vaynberg <ig...@gmail.com>.
what is that have to do with wicket?

-igor

On Sun, May 23, 2010 at 11:05 AM, Ioannis Mavroukakis
<im...@gameaccount.com> wrote:
> Hello fellow Wicketers.
>
> Apologies if this question has been answered  before, but taking a stroll through the list archives didn't dispel my confusion. I am using db4o for a trivial
> site I am building, and I am trying to figure out what is the canonical Wicket way to obtain a File reference to the DB file, the location of which will have to be
> outside the war deployment path.
>
> Thanks in advance,
>
> Yiannis
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org