You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by Mark Breitner <ma...@gmx.de> on 2005/04/19 14:46:01 UTC

response to file upload in slide server ?

Hi,

I´m setting up the slide server and I want to "forward" files that users put
into the "files" directory to another system. 

Where can I start implementing this ?
I Thought about the ContentEvent class but I´m not sure about this.

Is there a tutorial on how to change the server implementation ?


Bye,

mark Breitner

-- 
+++ NEU: GMX DSL_Flatrate! Schon ab 14,99 EUR/Monat! +++

GMX Garantie: Surfen ohne Tempo-Limit! http://www.gmx.net/de/go/dsl

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: response to file upload in slide server ?

Posted by Jean-Philippe Encausse <Je...@Jalios.com>.
- You have to build wck.jar from CVS repository
- You may have to build jar for other part of slide not compatible with
official release

Put all jars in the WEB-INF/lib/, config.xml ... at the right location
then start tomcat.



jar from CVS repository CVS



Mark Breitner a écrit :

>Hi, after reading throught the quick tutorial I decided to uses the WCK.
>
>Do you know how I can integrate the work done ( like for example the
>reference implementation
>http://wiki.apache.org/jakarta-slide/WebdavFileStore ) within my tomcat ?
>
>Thanks for your answer :)
>
>bye,
>
>Mark Breitner
>
>  
>
>>You have to implement your own Store, use the WCK is more simple.
>>http://jakarta.apache.org/slide/wck.html
>>override methods setResourceContent(), getResourceContent()
>>
>>Mark Breitner a écrit :
>>
>>    
>>
>>>Hi,
>>>
>>>I´m setting up the slide server and I want to "forward" files that users
>>>      
>>>
>>put
>>    
>>
>>>into the "files" directory to another system. 
>>>
>>>Where can I start implementing this ?
>>>I Thought about the ContentEvent class but I´m not sure about this.
>>>
>>>Is there a tutorial on how to change the server implementation ?
>>>
>>>
>>>Bye,
>>>
>>>mark Breitner
>>>
>>> 
>>>
>>>      
>>>


-- 
*Jean-Philippe Encausse* - R&D Jalios SA
Jp@encausse.net - http://www.encausse.com - http://www.jalias.com
ICQ: 109796741 - AOL: NextOne6666 - MSN: Nextone6666@hotmail.com
Mob: +33 6 80 75 71 09 - Office: +33 1 39 23 92 83 - Home: +33 1 39 18 90 15
*Do it Once, Use it Twice ~ Do it Twice, Make It Once*


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.17 - Release Date: 19/04/2005



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: response to file upload in slide server ?

Posted by Mark Breitner <ma...@gmx.de>.
Hi, after reading throught the quick tutorial I decided to uses the WCK.

Do you know how I can integrate the work done ( like for example the
reference implementation
http://wiki.apache.org/jakarta-slide/WebdavFileStore ) within my tomcat ?

Thanks for your answer :)

bye,

Mark Breitner

> You have to implement your own Store, use the WCK is more simple.
> http://jakarta.apache.org/slide/wck.html
> override methods setResourceContent(), getResourceContent()
> 
> Mark Breitner a écrit :
> 
> >Hi,
> >
> >I´m setting up the slide server and I want to "forward" files that users
> put
> >into the "files" directory to another system. 
> >
> >Where can I start implementing this ?
> >I Thought about the ContentEvent class but I´m not sure about this.
> >
> >Is there a tutorial on how to change the server implementation ?
> >
> >
> >Bye,
> >
> >mark Breitner
> >
> >  
> >
> 
> 
> -- 
> *Jean-Philippe Encausse* - R&D Jalios SA
> Jp@encausse.net - http://www.encausse.com - http://www.jalias.com
> ICQ: 109796741 - AOL: NextOne6666 - MSN: Nextone6666@hotmail.com
> Mob: +33 6 80 75 71 09 - Office: +33 1 39 23 92 83 - Home: +33 1 39 18 90
> 15
> *Do it Once, Use it Twice ~ Do it Twice, Make It Once*
> 
> 
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.308 / Virus Database: 266.9.17 - Release Date: 19/04/2005
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: slide-user-help@jakarta.apache.org
> 

-- 
+++ GMX - Die erste Adresse für Mail, Message, More +++

1 GB Mailbox bereits in GMX FreeMail http://www.gmx.net/de/go/mail

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: response to file upload in slide server ?

Posted by Jean-Philippe Encausse <Je...@Jalios.com>.
You have to implement your own Store, use the WCK is more simple.
http://jakarta.apache.org/slide/wck.html
override methods setResourceContent(), getResourceContent()

Mark Breitner a écrit :

>Hi,
>
>I´m setting up the slide server and I want to "forward" files that users put
>into the "files" directory to another system. 
>
>Where can I start implementing this ?
>I Thought about the ContentEvent class but I´m not sure about this.
>
>Is there a tutorial on how to change the server implementation ?
>
>
>Bye,
>
>mark Breitner
>
>  
>


-- 
*Jean-Philippe Encausse* - R&D Jalios SA
Jp@encausse.net - http://www.encausse.com - http://www.jalias.com
ICQ: 109796741 - AOL: NextOne6666 - MSN: Nextone6666@hotmail.com
Mob: +33 6 80 75 71 09 - Office: +33 1 39 23 92 83 - Home: +33 1 39 18 90 15
*Do it Once, Use it Twice ~ Do it Twice, Make It Once*


-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.308 / Virus Database: 266.9.17 - Release Date: 19/04/2005



---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org


Re: response to file upload in slide server ?

Posted by delbd <de...@oma.be>.
What about an interceptor?
Look at the <content-interceptor class="package.Classname">
with Classname a class extending 
org.apache.slide.content.AbstractContentInterceptor

and do your job inside de postStore() method.


Le Mardi 19 Avril 2005 14:46, Mark Breitner a écrit :
> Hi,
>
> I´m setting up the slide server and I want to "forward" files that users
> put into the "files" directory to another system.
>
> Where can I start implementing this ?
> I Thought about the ContentEvent class but I´m not sure about this.
>
> Is there a tutorial on how to change the server implementation ?
>
>
> Bye,
>
> mark Breitner

-- 
David Delbecq
Royal Meteorological Institute of Belgium

---------------------------------------------------------------------
To unsubscribe, e-mail: slide-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: slide-user-help@jakarta.apache.org