use a wicket shared resource for that
that will get the right image from somewhere depending on a parameter you
give it

johan


On 1/29/07, behlma <[EMAIL PROTECTED]> wrote:


Just one more question guys.

I store the images now in a separate folder somewhere on the filesystem,
non-accessible from the outside. What's the best way to retrieve them
again?
Say I only want to write a simple  -tag on a plain website, how would I
get
the scr="" value?




Eelco Hillenius wrote:
>
> Yep. And maybe you could consider using a JCR (Java Content
> Repository) like http://jackrabbit.apache.org/ so that you abstract
> from where you put it.
>
> Eelco
>
>
> On 1/27/07, Igor Vaynberg <[EMAIL PROTECTED]> wrote:
>> i wouldnt put them into web-inf as that is overwritten when you
redeploy.
>> put them somewhere else on the harddrive.
>>
>> -igor
>>
>>
>>
>> On 1/27/07, behlma < [EMAIL PROTECTED]> wrote:
>> >
>> > Hi guys,
>> > I'm just writing a simple "portal" application, where users can
upload
>> > files, i.e. images that will be displayed on their sites, but should
>> not
>> be
>> > accessible for unregistered users, i.e the outer world.
>> >
>> > Now I take it it's the common approach to store only the files paths'
>> to
>> the
>> > database and put the files somewhere on the disk. My question is now
>> where
>> > would that be? Would you put them in the /WEB-INF/ dir? If, how can I
>> get
>> > the /web-inf/ path? Or would you put them somewhere else?
>> >
>> > Thanks in advance
>> >
>> > --
>> > View this message in context:
>>
http://www.nabble.com/Application-layout-question%3A-File-uploads-tf3127417.html#a8665057
>> > Sent from the Wicket - User mailing list archive at Nabble.com.
>> >
>> >
>> >
>>
-------------------------------------------------------------------------
>> > Take Surveys. Earn Cash. Influence the Future of IT
>> > Join SourceForge.net's Techsay panel and you'll get the chance to
share
>> your
>> > opinions on IT & business topics through brief surveys - and earn
cash
>> >
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>> > _______________________________________________
>> > Wicket-user mailing list
>> > [email protected]
>> > https://lists.sourceforge.net/lists/listinfo/wicket-user
>> >
>>
>>
>>
-------------------------------------------------------------------------
>> Take Surveys. Earn Cash. Influence the Future of IT
>> Join SourceForge.net's Techsay panel and you'll get the chance to share
>> your
>> opinions on IT & business topics through brief surveys - and earn cash
>>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>
>> _______________________________________________
>> Wicket-user mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/wicket-user
>>
>>
>>
>
>
-------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share
> your
> opinions on IT & business topics through brief surveys - and earn cash
>
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>

--
View this message in context:
http://www.nabble.com/Application-layout-question%3A-File-uploads-tf3127417.html#a8689500
Sent from the Wicket - User mailing list archive at Nabble.com.


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share
your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to