See http://platform.xwiki.org/xwiki/bin/view/DevGuide/HTML5Upload for
how to use the file upload widget inside XWiki. Note that if you want
to submit the file to a different server you will hit the
https://developer.mozilla.org/en-US/docs/Web/Security/Same-origin_policy
problem. Also note that the file upload widget uses the native File
Upload API provided by the browser. Read more about it here
https://developer.mozilla.org/en-US/docs/Using_files_from_web_applications
.

Hope this helps,
Marius

On Wed, Nov 12, 2014 at 10:28 PM, Bryn Jeffries
<[email protected]> wrote:
> I'd like to upload files through a custom File Upload servlet that runs from 
> the same Tomcat server but is not part of XWiki. This servlet does some file 
> processing and stores the file in a separate area away from the XWiki 
> attachments, and it's possible that eventually this servlet might be moved to 
> another server as processing demands change.
>
> Is it possible to make use of the supplied XWiki UI widgets to upload to this 
> servlet? Any guidance on how to do this would be greatly appreciated.
> _______________________________________________
> users mailing list
> [email protected]
> http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________
users mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/users

Reply via email to