I want to download that file from Jackrabbit.
Can you please sugget me the method  to get the file from the node(I mean I
want to get the content of the file from any node)
.Sorry for asking a small question.

Regards,
Dinesh




On Sat, Jun 12, 2010 at 5:32 PM, Dinesh Dani <[email protected]>wrote:

> Hi,
>
> I am able to add the file by the method you suggested.Thanks once again.
>
>  On Fri, Jun 11, 2010 at 9:28 PM, Jukka Zitting 
> <[email protected]>wrote:
>
>> Hi,
>>
>> On Fri, Jun 11, 2010 at 9:54 AM, Dinesh Dani <[email protected]>
>> wrote:
>> > Does anybody can help me to add the file in a node.I needed this to add
>> the
>> > file content in a node.It would be great if you can provide the step by
>> step
>> > method to add the file in a node.
>>
>> The easiest way to do so is to use the JcrUtils.putFile() methods [1,2].
>>
>> [1]
>> http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/commons/JcrUtils.html#putFile(javax.jcr.Node
>> ,
>> java.lang.String, java.lang.String, java.io.InputStream)
>> [2]
>> http://jackrabbit.apache.org/api/2.1/org/apache/jackrabbit/commons/JcrUtils.html#putFile(javax.jcr.Node
>> ,
>> java.lang.String, java.lang.String, java.io.InputStream,
>> java.util.Calendar)
>>
>> BR,
>>
>> Jukka Zitting
>>
>
>
>
> --
> Regards,
> Dinesh Dani
>



-- 
Regards,
Dinesh Dani

Reply via email to