How to upload a file using jsf?

One major limitation is that I cannot use Tomahawk or RichFaces or anything else.

+3
source share
2 answers

Apache-Commons provides a FileUpload implementation for use in servlets complying with JSR 53. http://commons.apache.org/

+2
source

If you already use JSF 2.0 and Servlet 3.0, you can create a custom component for this based on the simple Servlet 3.0 API: Download files from JSF 2.0 to Servlet 3.0 .

Servlet 2.5 , . Tomahawk , , . , - " ", . Tomahawk : JSF.

+2

Source: https://habr.com/ru/post/1728913/


All Articles