jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tunggad <tung...@yahoo.com>
Subject How can i forward an InputStream object to Jackrabbit to handle File Upload
Date Mon, 01 Sep 2008 07:51:18 GMT

I have on a .jsp page something:

<form method="post" action="contextPath/.../save"
      <input type="file" name="file"/>

    <input type="submit"/>


I use Spring MVC on Serverside. In a controller i have a controller with
save() Method as action that looks like:

InputStream input = request.getFile("file").inputStream;

My question ist now how can i forward this InputStream object to Jackrabbit
and Jackrabbit should handle the Upload itself.
Jackrabbit is deployed with 3. Model, as a dedicated CR in a seperate

Thanks in advances!
View this message in context: http://www.nabble.com/How-can-i-forward-an-InputStream-object-to-Jackrabbit-to-handle-File-Upload-tp19250159p19250159.html
Sent from the Jackrabbit - Users mailing list archive at Nabble.com.

View raw message