{"id":586,"date":"2022-11-18T04:31:37","date_gmt":"2023-09-12T16:30:23","guid":{"rendered":"https:\/\/www.silicloud.com\/ja\/blog\/index.php\/2023\/11\/30\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/"},"modified":"2025-08-01T00:50:01","modified_gmt":"2025-07-31T15:50:01","slug":"primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab","status":"publish","type":"post","link":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/","title":{"rendered":"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb"},"content":{"rendered":"<p>\u4eca\u65e5\u306fPrimefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u307e\u3057\u3087\u3046\u3002HTML\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3059\u308b\u305f\u3081\u306b\u30d5\u30a1\u30a4\u30eb\u5165\u529b\u30bf\u30b0\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306b\u306f\u305d\u308c\u4ee5\u4e0a\u306e\u4f5c\u696d\u304c\u5fc5\u8981\u3067\u3059\u3002Primefaces\u306f\u3001\u7f8e\u3057\u3044UI\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306e\u6e96\u5099\u304c\u6574\u3063\u3066\u3044\u308bFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3067\u3001\u305d\u306e\u8ca0\u62c5\u3092\u8efd\u6e1b\u3057\u3066\u3044\u307e\u3059\u3002\u30d0\u30c3\u30af\u30a8\u30f3\u30c9\u306e\u30b5\u30dd\u30fc\u30c8\u3082\u542b\u3081\u3066\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u884c\u3046\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002<\/p>\n<h2>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30b7\u30ba\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h2>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3067\u304d\u308bPrimefaces FileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u6a5f\u80fd\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u307e\u3059\u3002\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u306f\u3001Primefaces\u306e\u57fa\u672c\u77e5\u8b58\u304c\u3042\u308b\u3053\u3068\u3092\u524d\u63d0\u3068\u3057\u3066\u3044\u307e\u3059\u3002\u3082\u3057\u6301\u3063\u3066\u3044\u306a\u3044\u5834\u5408\u306f\u3001Primefaces\u306e\u4f8b\u3092\u898b\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u57fa\u672c\u60c5\u5831<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Tag<\/th>\n<th>fileUpload<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>Component Class<\/td>\n<td>org.primefaces.component.fileupload.FileUpload<\/td>\n<\/tr>\n<tr>\n<td>Component Type<\/td>\n<td>org.primefaces.component.FileUpload<\/td>\n<\/tr>\n<tr>\n<td>Component Family<\/td>\n<td>org.primefaces.component<\/td>\n<\/tr>\n<tr>\n<td>Renderer Type<\/td>\n<td>org.primefaces.component.FileUploadRenderer<\/td>\n<\/tr>\n<tr>\n<td>Renderer Class<\/td>\n<td>org.primefaces.component.fileupload.FileUploadRenderer<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306eFileUpload\u306e\u5c5e\u6027<\/h3>\n<div>\n<div class=\"post-table\">\n<table>\n<thead>\n<tr>\n<th>Name<\/th>\n<th>Default<\/th>\n<th>Type<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>id<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Unique identifier of the component.<\/td>\n<\/tr>\n<tr>\n<td>rendered<\/td>\n<td>true<\/td>\n<td>boolean<\/td>\n<td>Boolean value to specify the rendering of the component, when set to false component will not be rendered<\/td>\n<\/tr>\n<tr>\n<td>binding<\/td>\n<td>null<\/td>\n<td>Object<\/td>\n<td>An el expression that maps to a server side UIComponent instance in a backing bean<\/td>\n<\/tr>\n<tr>\n<td>value<\/td>\n<td>null<\/td>\n<td>Object<\/td>\n<td>Value of the component than can be either an EL expression of a literal text<\/td>\n<\/tr>\n<tr>\n<td>converter<\/td>\n<td>null<\/td>\n<td>Converter\/String<\/td>\n<td>An el expression or a literal text that defines a converter for the component. When it\u2019s an EL expression, it\u2019s resolved to a converter instance. In case it\u2019s a static text, it must refer to a converter id.<\/td>\n<\/tr>\n<tr>\n<td>immediate<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>When set true, process validations logic is executed at apply request values phase for this component<\/td>\n<\/tr>\n<tr>\n<td>required<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>Marks component as required.<\/td>\n<\/tr>\n<tr>\n<td>validator<\/td>\n<td>null<\/td>\n<td>MethodExpr<\/td>\n<td>A method expression that refers to a method validating the input<\/td>\n<\/tr>\n<tr>\n<td>valueChangeListener<\/td>\n<td>null<\/td>\n<td>MethodExpr<\/td>\n<td>A method expression that refers to a method for handling a valueChangeEvent<\/td>\n<\/tr>\n<tr>\n<td>requiredMessage<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Message to be displayed when required field validation fails<\/td>\n<\/tr>\n<tr>\n<td>converterMessage<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Message to be displayed when conversion fails.<\/td>\n<\/tr>\n<tr>\n<td>validatorMessage<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Message to be displayed when validation fails.<\/td>\n<\/tr>\n<tr>\n<td>widgetVar<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Name of the client side widget.<\/td>\n<\/tr>\n<tr>\n<td>update<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Component(s) to update after fileupload completes.<\/td>\n<\/tr>\n<tr>\n<td>process<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Component(s) to process in fileupload request.<\/td>\n<\/tr>\n<tr>\n<td>fileUploadListener<\/td>\n<td>null<\/td>\n<td>MethodExpr<\/td>\n<td>Method to invoke when a file is uploaded.<\/td>\n<\/tr>\n<tr>\n<td>multiple<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>Allows choosing of multi file uploads from native<\/td>\n<\/tr>\n<tr>\n<td>auto<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>When set to true, selecting a file starts the upload process implicitly<\/td>\n<\/tr>\n<tr>\n<td>label<\/td>\n<td>Choose<\/td>\n<td>String<\/td>\n<td>Label of the browse button.<\/td>\n<\/tr>\n<tr>\n<td>allowTypes<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Regular expression for accepted file types,<\/td>\n<\/tr>\n<tr>\n<td>sizeLimit<\/td>\n<td>null<\/td>\n<td>Integer<\/td>\n<td>Individual file size limit in bytes.<\/td>\n<\/tr>\n<tr>\n<td>fileLimit<\/td>\n<td>null<\/td>\n<td>Integer<\/td>\n<td>Maximum number of files allowed to upload.<\/td>\n<\/tr>\n<tr>\n<td>style<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Inline style of the component.<\/td>\n<\/tr>\n<tr>\n<td>styleClass<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Style class of the component.<\/td>\n<\/tr>\n<tr>\n<td>mode<\/td>\n<td>advanced<\/td>\n<td>String<\/td>\n<td>Mode of the fileupload, can be simple or advanced.<\/td>\n<\/tr>\n<tr>\n<td>uploadLabel<\/td>\n<td>Upload<\/td>\n<td>String<\/td>\n<td>Label of the upload button.<\/td>\n<\/tr>\n<tr>\n<td>cancelLabel<\/td>\n<td>Cancel<\/td>\n<td>String<\/td>\n<td>Label of the cancel button.<\/td>\n<\/tr>\n<tr>\n<td>invalidSizeMessage<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Message to display when size limit exceeds.<\/td>\n<\/tr>\n<tr>\n<td>invalidFileMessage<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Message to display when file is not accepted.<\/td>\n<\/tr>\n<tr>\n<td>fileLimitMessage<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Message to display when file limit exceeds.<\/td>\n<\/tr>\n<tr>\n<td>dragDropSupport<\/td>\n<td>true<\/td>\n<td>Boolean<\/td>\n<td>Specifies dragdrop based file selection from filesystem, default is true and works only on supported browsers<\/td>\n<\/tr>\n<tr>\n<td>onstart<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Client side callback to execute when upload begins.<\/td>\n<\/tr>\n<tr>\n<td>onerror<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Callback to execute if fileupload request fails.<\/td>\n<\/tr>\n<tr>\n<td>oncomplete<\/td>\n<td>null<\/td>\n<td>String<\/td>\n<td>Client side callback to execute when upload ends.<\/td>\n<\/tr>\n<tr>\n<td>disabled<\/td>\n<td>false<\/td>\n<td>Boolean<\/td>\n<td>Disables component when set true.<\/td>\n<\/tr>\n<tr>\n<td>messageTemplate<\/td>\n<td>{name} {size}<\/td>\n<td>String<\/td>\n<td>Message template to use when displaying file validation errors<\/td>\n<\/tr>\n<tr>\n<td>previewWidth<\/td>\n<td>80<\/td>\n<td>Integer<\/td>\n<td>Width for image previews in pixels.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n<\/div>\n<h3>Primefaces\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u4f8b<\/h3>\n<p>FileUpload\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u4ee5\u4e0b\u306e\u5024\u3092\u53d6\u308b\u53ef\u80fd\u6027\u306e\u3042\u308bprimefaces.UPLOADER\u30a6\u30a7\u30d6\u5c55\u958b\u30d1\u30e9\u30e1\u30fc\u30bf\u3092\u8ffd\u52a0\u3057\u3066\u3001FileUpload\u30a8\u30f3\u30b8\u30f3\u3092\u63d0\u4f9b\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;context-param&gt;\r\n  &lt;param-name&gt;primefaces.UPLOADER&lt;\/param-name&gt;\r\n  &lt;param-value&gt;auto|native|commons&lt;\/param-value&gt;\r\n&lt;\/context-param&gt;\r\n<\/code><\/pre>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u30aa\u30fc\u30c8\uff1a\u3053\u308c\u306f\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u30e2\u30fc\u30c9\u3067\u3042\u308a\u3001Primefaces \u306f\u30e9\u30f3\u30bf\u30a4\u30e0\u74b0\u5883\u3092\u30c1\u30a7\u30c3\u30af\u3057\u3066\u6700\u9069\u306a\u65b9\u6cd5\u3092\u691c\u51fa\u3057\u3088\u3046\u3068\u3057\u307e\u3059\u3002\u3082\u3057JSF\u30e9\u30f3\u30bf\u30a4\u30e0\u304c2.2\u4ee5\u4e0a\u3067\u3042\u308c\u3070\u30cd\u30a4\u30c6\u30a3\u30d6\u30a2\u30c3\u30d7\u30ed\u30fc\u30c0\u30fc\u304c\u9078\u629e\u3055\u308c\u3001\u305d\u3046\u3067\u306a\u3051\u308c\u3070\u30b3\u30e2\u30f3\u30ba\u304c\u9078\u629e\u3055\u308c\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u30cd\u30a4\u30c6\u30a3\u30d6\uff1a\u30cd\u30a4\u30c6\u30a3\u30d6\u30e2\u30fc\u30c9\u3067\u306f\u3001\u30b5\u30fc\u30d6\u30ec\u30c3\u30c83.x Part API\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u307e\u3059\u3002\u3082\u3057JSF\u30e9\u30f3\u30bf\u30a4\u30e0\u304c2.2\u672a\u6e80\u3067\u3042\u308b\u5834\u5408\u3001\u4f8b\u5916\u304c\u30b9\u30ed\u30fc\u3055\u308c\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u30b3\u30e2\u30f3\u30ba\uff1a\u3053\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u306f\u30b3\u30e2\u30f3\u30ba\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u9078\u629e\u3057\u307e\u3059\u3002\u30c7\u30d7\u30ed\u30a4\u30e1\u30f3\u30c8\u30c7\u30a3\u30b9\u30af\u30ea\u30d7\u30bf\u306b\u306f\u4ee5\u4e0b\u306e\u30d5\u30a3\u30eb\u30bf\u30fc\u8a2d\u5b9a\u304c\u5fc5\u8981\u3067\u3059\u3002<\/ol>\n<p>web.xml\u306fXML\u30d5\u30a1\u30a4\u30eb\u3067\u3042\u308a\u3001Java\u306e\u30a6\u30a7\u30d6\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3067\u4f7f\u7528\u3055\u308c\u308b\u8a2d\u5b9a\u30d5\u30a1\u30a4\u30eb\u3067\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;filter&gt;\r\n &lt;filter-name&gt;PrimeFaces FileUpload Filter&lt;\/filter-name&gt;\r\n &lt;filter-class&gt;\r\n  org.primefaces.webapp.filter.FileUploadFilter\r\n &lt;\/filter-class&gt;\r\n&lt;\/filter&gt;\r\n&lt;filter-mapping&gt;\r\n &lt;filter-name&gt;PrimeFaces FileUpload Filter&lt;\/filter-name&gt;\r\n &lt;servlet-name&gt;Faces Servlet&lt;\/servlet-name&gt;\r\n&lt;\/filter-mapping&gt;\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u70b9\u306b\u6ce8\u610f\u3057\u3066\u304f\u3060\u3055\u3044\u3002\u3053\u306e\u5834\u5408\u3001servlet-name\u306fJSF\u30b5\u30fc\u30d6\u30ec\u30c3\u30c8\u306e\u8a2d\u5b9a\u3055\u308c\u305f\u540d\u524d\u3067\u3042\u308bFaces Servlet\u3068\u4e00\u81f4\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u307e\u305f\u3001URL\u30d1\u30bf\u30fc\u30f3\u306b\u57fa\u3065\u3044\u305f\u8a2d\u5b9a\u3082\u884c\u3046\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Primefaces\u30b7\u30f3\u30d7\u30eb\u306a\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h3>\n<p>\u30b7\u30f3\u30d7\u30eb\u306a\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30e2\u30fc\u30c9\u306f\u3001\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u3067\u52d5\u4f5c\u3057\u3001\u5024\u304cUploadedFile\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3067\u3042\u308b\u30d5\u30a1\u30a4\u30eb\u5165\u529b\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\u30b7\u30f3\u30d7\u30eb\u306a\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3067\u306fAjax\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002\u30b7\u30f3\u30d7\u30eb\u306a\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u4f5c\u6210\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002index.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n\t&lt;h:head&gt;\r\n\t\t&lt;title&gt;Journaldev Tutorial&lt;\/title&gt;\r\n\t&lt;\/h:head&gt;\r\n\t&lt;h:body&gt;\r\n\t\t&lt;h:form enctype=\"multipart\/form-data\"&gt;\r\n\t\t\t\t&lt;p:fileUpload value=\"#{fileUploadManagedBean.file}\"  mode=\"simple\"&gt;&lt;\/p:fileUpload&gt;\r\n\t\t\t\t&lt;p:separator\/&gt;\r\n\t\t\t\t&lt;h:commandButton value=\"Dummy Action\" action=\"#{fileUploadManagedBean.dummyAction}\"&gt;&lt;\/h:commandButton&gt;\r\n\t\t&lt;\/h:form&gt;\r\n\t&lt;\/h:body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\n\r\nimport org.primefaces.model.UploadedFile;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class FileUploadManagedBean {\r\n\tUploadedFile file;\r\n\r\n\tpublic UploadedFile getFile() {\r\n\t\treturn file;\r\n\t}\r\n\r\n\tpublic void setFile(UploadedFile file) {\r\n\t\tthis.file = file;\r\n\t}\r\n\r\n\tpublic String dummyAction(){\r\n\t\tSystem.out.println(\"Uploaded File Name Is :: \"+file.getFileName()+\" :: Uploaded File Size :: \"+file.getSize());\r\n\t\treturn \"\";\r\n\t}\r\n}\r\n<\/code><\/pre>\n<p>\u30a6\u30a7\u30d6\u30c9\u30c3\u30c8\u30a8\u30af\u30b9\u30a8\u30eb<\/p>\n<pre class=\"post-pre\"><code>&lt;?xml version=\"1.0\" encoding=\"UTF-8\"?&gt;\r\n&lt;web-app xmlns:xsi=\"https:\/\/www.w3.org\/2001\/XMLSchema-instance\"\r\n\txmlns=\"https:\/\/java.sun.com\/xml\/ns\/javaee\" xmlns:web=\"https:\/\/java.sun.com\/xml\/ns\/javaee\/web-app_2_5.xsd\"\r\n\txsi:schemaLocation=\"https:\/\/java.sun.com\/xml\/ns\/javaee\r\n\thttps:\/\/java.sun.com\/xml\/ns\/javaee\/web-app_2_5.xsd\"\r\n\tid=\"WebApp_ID\" version=\"2.5\" metadata-complete=\"true\"&gt;\r\n\t&lt;servlet&gt;\r\n\t\t&lt;servlet-name&gt;Faces Servlet&lt;\/servlet-name&gt;\r\n\t\t&lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;\/servlet-class&gt;\r\n\t\t&lt;load-on-startup&gt;1&lt;\/load-on-startup&gt;\r\n\t&lt;\/servlet&gt;\r\n\t&lt;servlet-mapping&gt;\r\n\t\t&lt;servlet-name&gt;Faces Servlet&lt;\/servlet-name&gt;\r\n\t\t&lt;url-pattern&gt;\/faces\/*&lt;\/url-pattern&gt;\r\n\t&lt;\/servlet-mapping&gt;\r\n\t&lt;servlet-mapping&gt;\r\n\t\t&lt;servlet-name&gt;Faces Servlet&lt;\/servlet-name&gt;\r\n\t\t&lt;url-pattern&gt;*.xhtml&lt;\/url-pattern&gt;\r\n\t&lt;\/servlet-mapping&gt;\r\n\t&lt;context-param&gt;\r\n\t\t&lt;description&gt;State saving method: 'client' or 'server' (=default). See JSF Specification 2.5.2&lt;\/description&gt;\r\n\t\t&lt;param-name&gt;javax.faces.STATE_SAVING_METHOD&lt;\/param-name&gt;\r\n\t\t&lt;param-value&gt;client&lt;\/param-value&gt;\r\n\t&lt;\/context-param&gt;\r\n\t&lt;context-param&gt;\r\n\t\t&lt;param-name&gt;primefaces.UPLOADER&lt;\/param-name&gt;\r\n\t\t&lt;param-value&gt;auto&lt;\/param-value&gt;\r\n\t&lt;\/context-param&gt;\r\n\t&lt;listener&gt;\r\n\t\t&lt;listener-class&gt;com.sun.faces.config.ConfigureListener&lt;\/listener-class&gt;\r\n\t&lt;\/listener&gt;\r\n&lt;\/web-app&gt;\r\n<\/code><\/pre>\n<p>pom.xml\u3092\u65e5\u672c\u8a9e\u3067\u8a00\u3044\u63db\u3048\u308b\u3068\u3001\u300c\u30dd\u30e0\u30fb\u30a8\u30c3\u30af\u30b9\u30a8\u30e0\u30a8\u30eb\u300d\u3068\u306a\u308a\u307e\u3059\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;project xmlns=\"https:\/\/maven.apache.org\/POM\/4.0.0\" xmlns:xsi=\"https:\/\/www.w3.org\/2001\/XMLSchema-instance\"\r\n  xsi:schemaLocation=\"https:\/\/maven.apache.org\/POM\/4.0.0 https:\/\/maven.apache.org\/maven-v4_0_0.xsd\"&gt;\r\n  &lt;modelVersion&gt;4.0.0&lt;\/modelVersion&gt;\r\n  &lt;groupId&gt;com.scdev&lt;\/groupId&gt;\r\n  &lt;artifactId&gt;Primefaces-FileUpload-Sample&lt;\/artifactId&gt;\r\n  &lt;packaging&gt;war&lt;\/packaging&gt;\r\n  &lt;version&gt;0.0.1-SNAPSHOT&lt;\/version&gt;\r\n  &lt;name&gt;Primefaces-FileUpload-Sample Maven Webapp&lt;\/name&gt;\r\n   &lt;url&gt;https:\/\/maven.apache.org&lt;\/url&gt;\r\n\t&lt;repositories&gt;\r\n\t\t&lt;repository&gt;\r\n\t\t\t&lt;id&gt;prime-repo&lt;\/id&gt;\r\n\t\t\t&lt;name&gt;PrimeFaces Maven Repository&lt;\/name&gt;\r\n\t\t\t&lt;url&gt;https:\/\/repository.primefaces.org&lt;\/url&gt;\r\n\t\t\t&lt;layout&gt;default&lt;\/layout&gt;\r\n\t\t&lt;\/repository&gt;\r\n\t&lt;\/repositories&gt;\r\n\t&lt;dependencies&gt;\r\n\t\t&lt;!-- Servlet --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;javax.servlet&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;servlet-api&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;2.5&lt;\/version&gt;\r\n\t\t\t&lt;scope&gt;provided&lt;\/scope&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- Faces Implementation --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;com.sun.faces&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;jsf-impl&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;2.2.4&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- Faces Library --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;com.sun.faces&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;jsf-api&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;2.2.4&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- Primefaces Version 5 --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;org.primefaces&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;primefaces&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;5.0&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- JSP Library --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;javax.servlet.jsp&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;javax.servlet.jsp-api&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;2.3.1&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t\t&lt;!-- JSTL Library --&gt;\r\n\t\t&lt;dependency&gt;\r\n\t\t\t&lt;groupId&gt;javax.servlet&lt;\/groupId&gt;\r\n\t\t\t&lt;artifactId&gt;jstl&lt;\/artifactId&gt;\r\n\t\t\t&lt;version&gt;1.1.2&lt;\/version&gt;\r\n\t\t&lt;\/dependency&gt;\r\n\t&lt;\/dependencies&gt;\r\n&lt;\/project&gt;\r\n<\/code><\/pre>\n<p>\u8981\u7d04\u3059\u308b\u3068\uff1a<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u4f7f\u7528\u3055\u308c\u3066\u3044\u308bPrimefaces\u306eFileUpload\u30a8\u30f3\u30b8\u30f3\u306f\u81ea\u52d5\u3067\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>fileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306evalue\u5c5e\u6027\u306fUploadedFile\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>fileUpload\u306e\u4f7f\u7528\u306b\u306f\u3001\u30d5\u30a9\u30fc\u30e0\u5185\u306bfileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u542b\u3081\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u306eenctype\u306fmultipart\/form-data\u3067\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u30c0\u30df\u30fc\u30a2\u30af\u30b7\u30e7\u30f3\u306f\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u540d\u524d\u3068\u30b5\u30a4\u30ba\u3092\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u4f7f\u7528\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/ol>\n<p>\u5834\u6240\u306b\u3088\u3063\u3066\u3001\u30c7\u30e2\u306e\u7d50\u679c\u306f\u6b21\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\uff1a\u30b7\u30f3\u30d7\u30eb\u306a\u5165\u529b\u30dc\u30bf\u30f3\u304c\u30d6\u30e9\u30a6\u30b6\u4e0a\u306b\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002\u305d\u3057\u3066\u3001\u30c0\u30df\u30fc\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30c0\u30df\u30fc\u30a2\u30af\u30b7\u30e7\u30f3\u30e1\u30bd\u30c3\u30c9\u304c\u5b9f\u884c\u3055\u308c\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306e\u60c5\u5831\u304c\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u30b3\u30f3\u30bd\u30fc\u30eb\u306b\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30d7\u30e9\u30a4\u30e0\u30d5\u30a7\u30a4\u30bb\u30b9\u306e\u9ad8\u5ea6\u306a\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h3>\n<p>FileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306f\u3001\u30b7\u30f3\u30d7\u30eb\u30d3\u30e5\u30fc\u3068\u30a2\u30c9\u30d0\u30f3\u30b9\u30c9\u30d3\u30e5\u30fc\u306e2\u3064\u306e\u30d3\u30e5\u30fc\u3092\u63d0\u4f9b\u3057\u307e\u3059\u3002\u30a2\u30c9\u30d0\u30f3\u30b9\u30c9\u30d3\u30e5\u30fc\u3092\u9078\u629e\u3059\u308b\u3068\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306b\u30a2\u30af\u30bb\u30b9\u3059\u308b\u552f\u4e00\u306e\u65b9\u6cd5\u306fFileUploadListener\u3092\u4ecb\u3057\u3066\u884c\u308f\u308c\u307e\u3059\u3002\u30d5\u30a1\u30a4\u30eb\u304c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u3001FileUploadEvent\u304c\u30ea\u30b9\u30ca\u30fc\u306b\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u6e21\u3055\u308c\u305f\u5834\u5408\u3001\u30ea\u30b9\u30ca\u30fc\u306f\u3059\u3050\u306b\u51e6\u7406\u3055\u308c\u307e\u3059\u3002\u30a2\u30c9\u30d0\u30f3\u30b9\u30c9\u30e2\u30fc\u30c9\u3092\u4f7f\u7528\u3059\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u30d5\u30a1\u30a4\u30eb\u306f\u3001\u4e0b\u306b\u793a\u3057\u307e\u3059\u3002 index.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n\t&lt;h:head&gt;\r\n\t\t&lt;title&gt;Journaldev Tutorial&lt;\/title&gt;\r\n\t&lt;\/h:head&gt;\r\n\t&lt;h:body&gt;\r\n\t\t&lt;h:form enctype=\"multipart\/form-data\" style=\"width:500px\"&gt;\r\n\t\t\t\t&lt;p:fileUpload value=\"#{fileUploadManagedBean.file}\" mode=\"advanced\"\r\n\t\t\t\t\t\t\t\tfileUploadListener=\"#{fileUploadManagedBean.fileUploadListener}\"&gt;&lt;\/p:fileUpload&gt;\r\n\t\t&lt;\/h:form&gt;\r\n\t&lt;\/h:body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\n\r\nimport org.primefaces.event.FileUploadEvent;\r\nimport org.primefaces.model.UploadedFile;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class FileUploadManagedBean {\r\n\tUploadedFile file;\r\n\r\n\tpublic UploadedFile getFile() {\r\n\t\treturn file;\r\n\t}\r\n\r\n\tpublic void setFile(UploadedFile file) {\r\n\t\tthis.file = file;\r\n\t}\r\n\r\n\tpublic void fileUploadListener(FileUploadEvent e){\r\n\t\t\/\/ Get uploaded file from the FileUploadEvent\r\n\t\tthis.file = e.getFile();\r\n\t\t\/\/ Print out the information of the file\r\n\t\tSystem.out.println(\"Uploaded File Name Is :: \"+file.getFileName()+\" :: Uploaded File Size :: \"+file.getSize());\r\n\t}\r\n}\r\n<\/code><\/pre>\n<p>\u8981\u7d04\u3059\u308b\u3068\uff1a<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>web.xml\u3082pom.xml\u3082\u8a00\u53ca\u3055\u308c\u3066\u3044\u306a\u3044\u305f\u3081\u3001\u5909\u66f4\u304c\u306a\u3044\u3067\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>FileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306evalue\u5c5e\u6027\u306f\u3001UploadedFile\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u3068\u95a2\u9023\u4ed8\u3051\u3089\u308c\u3066\u3044\u307e\u3059\u3002\u307e\u305f\u3001\u3053\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306fFileUploadListener\u306b\u3088\u3063\u3066\u3082\u76e3\u8996\u3055\u308c\u3066\u3044\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>FileUploadListener\u306fFileUploadEvent\u3092\u30d1\u30e9\u30e1\u30fc\u30bf\u3068\u3057\u3066\u53d7\u3051\u53d6\u308a\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u300c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u300d\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001FileUploadListener\u304c\u5b9f\u884c\u3055\u308c\u3001FileUploadEvent\u304c\u4f5c\u6210\u3055\u308c\u3066\u6e21\u3055\u308c\u307e\u3059\u3002<\/ol>\n<p>\u30c7\u30e2\u306e\u7d50\u679c\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u304c\u65b0\u3057\u3044\u30d3\u30e5\u30fc\u3067\u8868\u793a\u3055\u308c\u30012\u3064\u306e\u8ffd\u52a0\u30dc\u30bf\u30f3\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u30021\u3064\u306f\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3001\u3082\u30461\u3064\u306f\u30ad\u30e3\u30f3\u30bb\u30eb\u3067\u3059\u3002\u5b9f\u884c\u7d50\u679c\u3068\u3057\u3066\u4ee5\u4e0b\u306e\u30dd\u30a4\u30f3\u30c8\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u305f\u30d5\u30a1\u30a4\u30eb\u306f\u3001FileUploadEvent\u5185\u3067\u6e21\u3055\u308c\u3001\u30a4\u30d9\u30f3\u30c8\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306b\u5bfe\u3057\u3066e.getFile()\u3092\u547c\u3073\u51fa\u3059\u3053\u3068\u3067\u30a2\u30af\u30bb\u30b9\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u308c\u306b\u3088\u308a\u3001UploadedFile\u30a4\u30f3\u30b9\u30bf\u30f3\u30b9\u304c\u8fd4\u3055\u308c\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u305f\u3081\u306b\u306f\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u4ee3\u308f\u308a\u306b\u300c\u30ad\u30e3\u30f3\u30bb\u30eb\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u3068\u3001\u30ea\u30b9\u30ca\u30fc\u306e\u547c\u3073\u51fa\u3057\u304c\u884c\u308f\u308c\u306a\u304f\u306a\u308a\u307e\u3059\u3002<\/ol>\n<h3>Primefaces\u306e\u8907\u6570\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h3>\n<p>FileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u4f7f\u7528\u3057\u3066\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u3053\u3068\u306f\u53ef\u80fd\u3067\u3042\u308a\u3001\u30d6\u30e9\u30a6\u30b6\u306e\u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3067\u304d\u307e\u3059\u3002\u305f\u3060\u3057\u3001\u53e4\u3044\u30d6\u30e9\u30a6\u30b6\u3067\u306f\u8907\u6570\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306f\u30b5\u30dd\u30fc\u30c8\u3055\u308c\u3066\u3044\u307e\u305b\u3093\u3002`multiple`\u5c5e\u6027\u3092`true`\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u9078\u629e\u304c\u53ef\u80fd\u306b\u306a\u308a\u307e\u3059\u304c\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u9078\u629e\u306f\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u304c1\u3064\u306e\u30ea\u30af\u30a8\u30b9\u30c8\u3067\u30b5\u30fc\u30d0\u30fc\u306b\u9001\u4fe1\u3055\u308c\u308b\u3053\u3068\u3092\u610f\u5473\u3057\u307e\u305b\u3093\u3002\u5b9f\u969b\u306b\u306f\u30011\u3064\u305a\u3064\u30d5\u30a1\u30a4\u30eb\u304c\u9001\u4fe1\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u8907\u6570\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u9078\u629e\u304c\u53ef\u80fd\u306b\u306a\u308b\u305f\u3081\u306e\u5fc5\u8981\u306a\u5909\u66f4\u4f8b\u3092\u793a\u3057\u307e\u3059\u3002index.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n\t&lt;h:head&gt;\r\n\t\t&lt;title&gt;Journaldev Tutorial&lt;\/title&gt;\r\n\t&lt;\/h:head&gt;\r\n\t&lt;h:body&gt;\r\n\t\t&lt;h:form enctype=\"multipart\/form-data\" style=\"width:500px\"&gt;\r\n\t\t\t\t&lt;p:fileUpload value=\"#{fileUploadManagedBean.file}\" mode=\"advanced\" multiple=\"true\"\r\n\t\t\t\t\t\t\t\tfileUploadListener=\"#{fileUploadManagedBean.fileUploadListener}\"&gt;&lt;\/p:fileUpload&gt;\r\n\t\t&lt;\/h:form&gt;\r\n\t&lt;\/h:body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\n\r\nimport org.primefaces.event.FileUploadEvent;\r\nimport org.primefaces.model.UploadedFile;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class FileUploadManagedBean {\r\n\tUploadedFile file;\r\n\r\n\tpublic UploadedFile getFile() {\r\n\t\treturn file;\r\n\t}\r\n\r\n\tpublic void setFile(UploadedFile file) {\r\n\t\tthis.file = file;\r\n\t}\r\n\r\n\tpublic void fileUploadListener(FileUploadEvent e){\r\n\t\t\/\/ Get uploaded file from the FileUploadEvent\r\n\t\tthis.file = e.getFile();\r\n\t\t\/\/ Print out the information of the file\r\n\t\tSystem.out.println(\"Uploaded File Name Is :: \"+file.getFileName()+\" :: Uploaded File Size :: \"+file.getSize());\r\n\t}\r\n}\r\n<\/code><\/pre>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3057\u305f\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002\u30c7\u30e2\u304b\u3089\u4ee5\u4e0b\u306e\u30dd\u30a4\u30f3\u30c8\u306b\u6ce8\u610f\u3059\u308b\u3053\u3068\u304c\u91cd\u8981\u3067\u3059\u3002<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u300c\u30ad\u30e3\u30f3\u30bb\u30eb\u300d\u30dc\u30bf\u30f3\u3092\u4f7f\u3063\u3066\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3092\u30ad\u30e3\u30f3\u30bb\u30eb\u3059\u308b\u3068\u3001\u5168\u3066\u306e\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30d7\u30ed\u30bb\u30b9\u3082\u30ad\u30e3\u30f3\u30bb\u30eb\u3055\u308c\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\u5404\u30d5\u30a1\u30a4\u30eb\u306e\u6a2a\u306b\u3042\u308bX\u30a2\u30a4\u30b3\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u5bfe\u5fdc\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u307f\u304c\u30ad\u30e3\u30f3\u30bb\u30eb\u3055\u308c\u307e\u3059\u3002<\/ol>\n<\/li>\n<\/ol>\n<p>&nbsp;<\/p>\n<ol>\u300c\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u300d\u30a2\u30af\u30b7\u30e7\u30f3\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u30ed\u30fc\u30c9\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u306b\u5fdc\u3058\u3066\u30ea\u30b9\u30ca\u30fc\u304c\u547c\u3073\u51fa\u3055\u308c\u307e\u3059\u3002<\/ol>\n<h3>Primefaces\u306e\u81ea\u52d5\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9<\/h3>\n<p>\u30c7\u30d5\u30a9\u30eb\u30c8\u306e\u52d5\u4f5c\u3067\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u306f\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30d7\u30ed\u30bb\u30b9\u3092\u30c8\u30ea\u30ac\u30fc\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u304c\u3001auto\u3092true\u306b\u8a2d\u5b9a\u3059\u308b\u3053\u3068\u3067\u3053\u306e\u65b9\u6cd5\u3092\u5909\u66f4\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u30aa\u30fc\u30c8\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306f\u3001\u30c0\u30a4\u30a2\u30ed\u30b0\u304b\u3089\u30d5\u30a1\u30a4\u30eb\u304c\u9078\u629e\u3055\u308c\u308b\u3068\u3059\u3050\u306b\u30c8\u30ea\u30ac\u30fc\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306b\u3001\u30aa\u30fc\u30c8\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u9069\u7528\u3055\u308c\u308b\u305f\u3081\u306b\u5fc5\u8981\u306a\u5909\u66f4\u3092\u898b\u3066\u307f\u3066\u304f\u3060\u3055\u3044\u3002index.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n\t&lt;h:head&gt;\r\n\t\t&lt;title&gt;Journaldev Tutorial&lt;\/title&gt;\r\n\t&lt;\/h:head&gt;\r\n\t&lt;h:body&gt;\r\n\t\t&lt;h:form enctype=\"multipart\/form-data\" style=\"width:500px\"&gt;\r\n\t\t\t\t&lt;p:fileUpload value=\"#{fileUploadManagedBean.file}\" mode=\"advanced\" multiple=\"true\" auto=\"true\"\r\n\t\t\t\t\t\t\t\tfileUploadListener=\"#{fileUploadManagedBean.fileUploadListener}\"&gt;&lt;\/p:fileUpload&gt;\r\n\t\t&lt;\/h:form&gt;\r\n\t&lt;\/h:body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u30a2\u30d7\u30ea\u30b1\u30fc\u30b7\u30e7\u30f3\u3092\u5b9f\u884c\u3059\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u8868\u793a\u3055\u308c\u307e\u3059\uff1a\u30d6\u30e9\u30a6\u30b6\u30a6\u30a3\u30f3\u30c9\u30a6\u3067\u300c\u30aa\u30fc\u30d7\u30f3\u300d\u3092\u30af\u30ea\u30c3\u30af\u3059\u308b\u3068\u3001\u5373\u5ea7\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30d7\u30ed\u30bb\u30b9\u304c\u958b\u59cb\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>Primefaces \u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u6642\u306b\u3001\u90e8\u5206\u7684\u306a\u30da\u30fc\u30b8\u306e\u66f4\u65b0\u3092\u884c\u3046\u3002<\/h3>\n<p>\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u51e6\u7406\u304c\u5b8c\u4e86\u3057\u305f\u3089\u3001Primefaces\u306ePPR\uff08Partial Page Render\uff09\u3092\u4f7f\u7528\u3057\u3066\u30da\u30fc\u30b8\u4e0a\u306e\u4efb\u610f\u306e\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3092\u66f4\u65b0\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u3053\u306e\u305f\u3081\u306b\u3001FileUpload\u306b\u306fupdate\u5c5e\u6027\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u4f8b\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5f8c\u306b\u300c\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u304c\u6210\u529f\u3057\u307e\u3057\u305f\u300d\u3068\u3044\u3046\u30e1\u30c3\u30bb\u30fc\u30b8\u3092growl\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u8868\u793a\u3057\u307e\u3059\u3002\u30e1\u30c3\u30bb\u30fc\u30b8\u306e\u8a73\u7d30\u306f\u5f8c\u3067messages\u306b\u5165\u308b\u969b\u306b\u8aac\u660e\u3055\u308c\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30b3\u30fc\u30c9\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u306f\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u5f8c\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u8868\u793a\u3059\u308b\u306e\u306b\u5f79\u7acb\u3061\u307e\u3059\u3002index.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n\t&lt;h:head&gt;\r\n\t\t&lt;title&gt;Journaldev Tutorial&lt;\/title&gt;\r\n\t&lt;\/h:head&gt;\r\n\t&lt;h:body&gt;\r\n\t\t&lt;h:form enctype=\"multipart\/form-data\" style=\"width:500px\"&gt;\r\n\t\t\t\t&lt;p:growl id=\"msg\"&gt;&lt;\/p:growl&gt;\r\n\t\t\t\t&lt;p:fileUpload value=\"#{fileUploadManagedBean.file}\" mode=\"advanced\"\r\n\t\t\t\t\t\t\t\tfileUploadListener=\"#{fileUploadManagedBean.fileUploadListener}\" update=\"msg\"&gt;&lt;\/p:fileUpload&gt;\r\n\t\t&lt;\/h:form&gt;\r\n\t&lt;\/h:body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<pre class=\"post-pre\"><code>package com.scdev.prime.faces.beans;\r\n\r\nimport javax.faces.application.FacesMessage;\r\nimport javax.faces.bean.ManagedBean;\r\nimport javax.faces.bean.SessionScoped;\r\nimport javax.faces.context.FacesContext;\r\n\r\nimport org.primefaces.event.FileUploadEvent;\r\nimport org.primefaces.model.UploadedFile;\r\n\r\n@ManagedBean\r\n@SessionScoped\r\npublic class FileUploadManagedBean {\r\n\tUploadedFile file;\r\n\r\n\tpublic UploadedFile getFile() {\r\n\t\treturn file;\r\n\t}\r\n\r\n\tpublic void setFile(UploadedFile file) {\r\n\t\tthis.file = file;\r\n\t}\r\n\r\n\tpublic void fileUploadListener(FileUploadEvent e){\r\n\t\t\/\/ Get uploaded file from the FileUploadEvent\r\n\t\tthis.file = e.getFile();\r\n\t\t\/\/ Print out the information of the file\r\n\t\tSystem.out.println(\"Uploaded File Name Is :: \"+file.getFileName()+\" :: Uploaded File Size :: \"+file.getSize());\r\n\t\t\/\/ Add message\r\n\t\tFacesContext.getCurrentInstance().addMessage(null,new FacesMessage(\"File Uploaded Successfully\"));\r\n\t}\r\n}\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u5b9f\u884c\u7d50\u679c\u304c\u8868\u793a\u3055\u308c\u307e\u3059\uff1aFacesContext\u306b\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8ffd\u52a0\u3055\u308c\u3001FileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306fupdate\u5c5e\u6027\u3092\u5b9a\u7fa9\u3057\u3066\u3044\u308b\u305f\u3081\u3001Ajax\u30e1\u30ab\u30cb\u30ba\u30e0\u3092\u4ecb\u3057\u3066\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u30ec\u30f3\u30c0\u30ea\u30f3\u30b0\u3055\u308c\u307e\u3059\u3002Ajax\u306e\u52d5\u4f5c\u306b\u3064\u3044\u3066\u306f\u5f8c\u3067\u5225\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3067\u8aac\u660e\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30d5\u30a3\u30eb\u30bf\u30fc<\/h3>\n<p>\u30e6\u30fc\u30b6\u30fc\u306f\u8a2d\u5b9a\u3057\u305f\u30d5\u30a1\u30a4\u30eb\u30bf\u30a4\u30d7\u306e\u9078\u629e\u306b\u5236\u9650\u3055\u308c\u3001\u4ee5\u4e0b\u306e\u4f8b\u3067\u306f\u753b\u50cf\u306e\u307f\u3092\u53d7\u3051\u5165\u308c\u308b\u65b9\u6cd5\u304c\u793a\u3055\u308c\u3066\u3044\u307e\u3059\u3002index.xhtml<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n\t&lt;h:head&gt;\r\n\t\t&lt;title&gt;Journaldev Tutorial&lt;\/title&gt;\r\n\t&lt;\/h:head&gt;\r\n\t&lt;h:body&gt;\r\n\t\t&lt;h:form enctype=\"multipart\/form-data\" style=\"width:500px\"&gt;\r\n\t\t\t\t&lt;p:growl id=\"msg\"&gt;&lt;\/p:growl&gt;\r\n\t\t\t\t&lt;p:fileUpload value=\"#{fileUploadManagedBean.file}\" mode=\"advanced\" allowTypes=\"\/(\\.|\\\/)(gif|jpe?g|png)$\/\"\r\n\t\t\t\t\t\t\t\tfileUploadListener=\"#{fileUploadManagedBean.fileUploadListener}\" update=\"msg\"&gt;&lt;\/p:fileUpload&gt;\r\n\t\t&lt;\/h:form&gt;\r\n\t&lt;\/h:body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u305d\u3057\u3066\u3001\u5b9f\u884c\u306e\u7d50\u679c\u306f\u4ee5\u4e0b\u306e\u3088\u3046\u306b\u306a\u308a\u307e\u3059\u3002<\/p>\n<h3>Primefaces\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u30b5\u30a4\u30ba\u5236\u9650\u3068\u30d5\u30a1\u30a4\u30eb\u6570\u306e\u5236\u9650\u306b\u3064\u3044\u3066\u3002<\/h3>\n<p>\u300c\u6642\u306b\u306f\u3001\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3055\u308c\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u3084\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u30d5\u30a1\u30a4\u30eb\u306e\u6570\u3092\u5236\u9650\u3059\u308b\u5fc5\u8981\u304c\u3042\u308a\u307e\u3059\u3002\u305d\u3093\u306a\u5236\u9650\u306f\u3001Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u3067\u306f\u554f\u984c\u3042\u308a\u307e\u305b\u3093\u3002FileUpload\u81ea\u4f53\u306b\u5bfe\u3057\u3066\u3001sizeLimit\u5c5e\u6027\u3068fileLimit\u5c5e\u6027\u3092\u6307\u5b9a\u3059\u308b\u3053\u3068\u3067\u3001\u3053\u308c\u3089\u306e\u5236\u9650\u3092\u5b9f\u73fe\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u4ee5\u4e0b\u306f\u3001\u30e6\u30fc\u30b6\u30fc\u3092\u5236\u9650\u3059\u308b\u305f\u3081\u306e\u30b3\u30fc\u30c9\u30d5\u30e9\u30b0\u30e1\u30f3\u30c8\u3067\u3059: index.xhtml\u300d<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n\t&lt;h:head&gt;\r\n\t\t&lt;title&gt;Journaldev Tutorial&lt;\/title&gt;\r\n\t&lt;\/h:head&gt;\r\n\t&lt;h:body&gt;\r\n\t\t&lt;h:form enctype=\"multipart\/form-data\" style=\"width:500px\"&gt;\r\n\t\t\t\t&lt;p:growl id=\"msg\"&gt;&lt;\/p:growl&gt;\r\n\t\t\t\t&lt;p:fileUpload value=\"#{fileUploadManagedBean.file}\" mode=\"advanced\" multiple=\"true\" fileLimit=\"3\" sizeLimit=\"2048\"\r\n\t\t\t\t\t\t\t\tfileUploadListener=\"#{fileUploadManagedBean.fileUploadListener}\" update=\"msg\"&gt;&lt;\/p:fileUpload&gt;\r\n\t\t&lt;\/h:form&gt;\r\n\t&lt;\/h:body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>3\u3064\u4ee5\u4e0a\u306e\u30d5\u30a1\u30a4\u30eb\u3092\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3057\u3088\u3046\u3068\u3059\u308b\u304b\u3001\u30d5\u30a1\u30a4\u30eb\u306e\u30b5\u30a4\u30ba\u304c\u5236\u9650\u3092\u8d85\u3048\u308b\u3068\u3001\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30a8\u30e9\u30fc\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u8868\u793a\u3055\u308c\u307e\u3059\u3002<\/p>\n<h3>Primefaces\u30d5\u30a1\u30a4\u30eb\u306e\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30e1\u30c3\u30bb\u30fc\u30b8<\/h3>\n<p>\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u30e6\u30fc\u30b6\u30fc\u306b\u8868\u793a\u3059\u308b\u305f\u3081\u306b\u3001invalidFileMessage\u3001invalidSizeMessage\u3001\u304a\u3088\u3073fileLimitMessage\u306e\u30aa\u30d7\u30b7\u30e7\u30f3\u304c\u3042\u308a\u307e\u3059\u3002\u3053\u308c\u3089\u306e\u30d0\u30ea\u30c7\u30fc\u30b7\u30e7\u30f3\u306e\u305f\u3081\u306e\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u597d\u304d\u306a\u3088\u3046\u306b\u63d0\u4f9b\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\u63d0\u4f9b\u3055\u308c\u305f\u4f8b\u3092\u4ee5\u4e0b\u306eindex.xhtml\u3067\u3054\u78ba\u8a8d\u304f\u3060\u3055\u3044\u3002<\/p>\n<pre class=\"post-pre\"><code>&lt;html xmlns=\"https:\/\/www.w3.org\/1999\/xhtml\"\r\n\txmlns:ui=\"https:\/\/java.sun.com\/jsf\/facelets\"\r\n\txmlns:h=\"https:\/\/java.sun.com\/jsf\/html\"\r\n\txmlns:f=\"https:\/\/java.sun.com\/jsf\/core\"\r\n\txmlns:p=\"https:\/\/primefaces.org\/ui\"&gt;\r\n\t&lt;h:head&gt;\r\n\t\t&lt;title&gt;Journaldev Tutorial&lt;\/title&gt;\r\n\t&lt;\/h:head&gt;\r\n\t&lt;h:body&gt;\r\n\t\t&lt;h:form enctype=\"multipart\/form-data\" style=\"width:500px\"&gt;\r\n\t\t\t\t&lt;p:growl id=\"msg\"&gt;&lt;\/p:growl&gt;\r\n\t\t\t\t&lt;p:fileUpload value=\"#{fileUploadManagedBean.file}\"\r\n\t\t\t\t\t\t\t\tinvalidSizeMessage=\"JournalDev: Invalid Size\"\r\n\t\t\t\t\t\t\t\tinvalidFileMessage=\"JournalDev: Invalid File Type\"\r\n\t\t\t\t\t\t\t\tfileLimitMessage=\"JournalDev: Invalid File Limit\"\r\n\t\t\t\t\t\t\t\tmode=\"advanced\" multiple=\"true\" fileLimit=\"3\" sizeLimit=\"2048\"\r\n\t\t\t\t\t\t\t\tallowTypes=\"\/(\\.|\\\/)(gif|jpe?g|png)$\/\"\r\n\t\t\t\t\t\t\t\tfileUploadListener=\"#{fileUploadManagedBean.fileUploadListener}\"\r\n\t\t\t\t\t\t\t\tupdate=\"msg\"&gt;&lt;\/p:fileUpload&gt;\r\n\t\t&lt;\/h:form&gt;\r\n\t&lt;\/h:body&gt;\r\n&lt;\/html&gt;\r\n<\/code><\/pre>\n<p>\u4ee5\u4e0b\u306e\u3088\u3046\u306a\u30e1\u30c3\u30bb\u30fc\u30b8\u306b\u306a\u308a\u307e\u3059\uff1a<br \/>\n\u3082\u3057\u30e1\u30c3\u30bb\u30fc\u30b8\u304c\u5909\u66f4\u3055\u308c\u3001\u7570\u306a\u308b\u30c6\u30ad\u30b9\u30c8\u306e\u5024\u304c\u63d0\u4f9b\u3055\u308c\u3066\u3044\u308b\u3053\u3068\u306b\u6c17\u4ed8\u3044\u305f\u5834\u5408\u306f\u3001\u304a\u77e5\u3089\u305b\u304f\u3060\u3055\u3044\u3002\u7ba1\u7406\u3055\u308c\u305fBean\u306e\u30b3\u30fc\u30c9\u3092\u78ba\u8a8d\u3059\u308b\u3068\u3001\u30d5\u30a1\u30a4\u30eb\u306b\u95a2\u3057\u3066\u306f\u4f55\u3082\u884c\u3063\u3066\u3044\u307e\u305b\u3093\u3002\u3057\u304b\u3057\u3001\u5b9f\u969b\u306e\u72b6\u6cc1\u3067\u306f\u3001UploadedFile getInputstream() \u30e1\u30bd\u30c3\u30c9\u3092\u4f7f\u7528\u3057\u3066\u30d5\u30a1\u30a4\u30eb\u30c7\u30fc\u30bf\u3092\u53d6\u5f97\u3057\u3001\u30b5\u30fc\u30d0\u30fc\u307e\u305f\u306f\u30c7\u30fc\u30bf\u30d9\u30fc\u30b9\u306b\u4fdd\u5b58\u3059\u308b\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<h3>Primefaces \u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u306e\u6982\u8981<\/h3>\n<p>\u3053\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u306f\u3001FileUpload Primefaces\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f7f\u7528\u65b9\u6cd5\u306b\u3064\u3044\u3066\u3001\u8a73\u7d30\u306a\u8aac\u660e\u3092\u63d0\u4f9b\u3059\u308b\u3053\u3068\u3092\u76ee\u7684\u3068\u3057\u3066\u3044\u307e\u3059\u3002FileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u306f\u3001\u540c\u69d8\u306e\u5b9f\u88c5\u3092\u884c\u3046\u4ee3\u308f\u308a\u306b\u3001\u30d3\u30b8\u30cd\u30b9\u306b\u96c6\u4e2d\u3067\u304d\u308b\u591a\u304f\u306e\u6a5f\u80fd\u304c\u5099\u308f\u3063\u3066\u3044\u307e\u3059\u3002\u4ee5\u4e0b\u306e\u30ea\u30f3\u30af\u304b\u3089\u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3001\u4ed6\u306efileUpload\u5c5e\u6027\u3092\u4f7f\u7528\u3057\u3066\u3055\u3089\u306b\u5b66\u3076\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002<\/p>\n<p>PrimeFaces\u306e\u30d5\u30a1\u30a4\u30eb\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u30d7\u30ed\u30b8\u30a7\u30af\u30c8\u3092\u30c0\u30a6\u30f3\u30ed\u30fc\u30c9\u3057\u3066\u304f\u3060\u3055\u3044\u3002<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4eca\u65e5\u306fPrimefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306b\u3064\u3044\u3066\u8abf\u3079\u3066\u307f\u307e\u3057\u3087\u3046\u3002HTML\u3067\u306f\u30d5\u30a1\u30a4\u30eb\u3092\u9078\u629e\u3059\u308b\u305f\u3081\u306b\u30d5\u30a1\u30a4\u30eb\u5165\u529b\u30bf\u30b0\u3092\u63d0\u4f9b\u3057\u3066\u3044\u307e\u3059\u304c\u3001\u30d5\u30a1\u30a4\u30eb\u3092\u30b5\u30fc\u30d0\u30fc\u306b\u30a2\u30c3\u30d7\u30ed\u30fc\u30c9\u3059\u308b\u305f\u3081\u306b\u306f\u305d\u308c\u4ee5\u4e0a\u306e\u4f5c\u696d\u304c [&hellip;]<\/p>\n","protected":false},"author":12,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[26,61],"class_list":["post-586","post","type-post","status-publish","format-standard","hentry","category-uncategorized","tag-26","tag-61"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v21.5 (Yoast SEO v21.5) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb - Blog - Silicon Cloud<\/title>\n<meta name=\"description\" content=\"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces\u306efileupload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\/\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\" \/>\n<meta property=\"og:description\" content=\"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces\u306efileupload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\/\" \/>\n<meta property=\"og:site_name\" content=\"Blog - Silicon Cloud\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-12T16:30:23+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-31T15:50:01+00:00\" \/>\n<meta name=\"author\" content=\"\u5149, \u660e\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"\u5149, \u660e\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"47\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/\",\"name\":\"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb - Blog - Silicon Cloud\",\"isPartOf\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\"},\"datePublished\":\"2023-09-12T16:30:23+00:00\",\"dateModified\":\"2025-07-31T15:50:01+00:00\",\"author\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\"},\"description\":\"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002\",\"breadcrumb\":{\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u9996\u9875\",\"item\":\"https:\/\/www.silicloud.com\/ja\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#website\",\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/\",\"name\":\"Blog - Silicon Cloud\",\"description\":\"\",\"inLanguage\":\"ja\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55\",\"name\":\"\u5149, \u660e\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g\",\"caption\":\"\u5149, \u660e\"},\"url\":\"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/\"},{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/#local-main-organization-logo\",\"url\":\"\",\"contentUrl\":\"\",\"caption\":\"Blog - Silicon Cloud\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb - Blog - Silicon Cloud","description":"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces\u306efileupload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\/","og_locale":"ja_JP","og_type":"article","og_title":"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb","og_description":"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","og_url":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces\u306efileupload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\/","og_site_name":"Blog - Silicon Cloud","article_published_time":"2023-09-12T16:30:23+00:00","article_modified_time":"2025-07-31T15:50:01+00:00","author":"\u5149, \u660e","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"\u5149, \u660e","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"47\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/","url":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/","name":"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb - Blog - Silicon Cloud","isPartOf":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website"},"datePublished":"2023-09-12T16:30:23+00:00","dateModified":"2025-07-31T15:50:01+00:00","author":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55"},"description":"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb\u3092\u5206\u304b\u308a\u3084\u3059\u304f\u89e3\u8aac\u3002\u5b9f\u8df5\u7684\u306a\u4f8b\u3068\u30b3\u30fc\u30c9\u3001\u6ce8\u610f\u70b9\u3092\u542b\u3081\u3066\u521d\u5fc3\u8005\u306b\u3082\u7406\u89e3\u3067\u304d\u308b\u3088\u3046\u8aac\u660e\u3057\u307e\u3059\u3002","breadcrumb":{"@id":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u9996\u9875","item":"https:\/\/www.silicloud.com\/ja\/blog\/"},{"@type":"ListItem","position":2,"name":"Primefaces\u306eFileUpload\u30b3\u30f3\u30dd\u30fc\u30cd\u30f3\u30c8\u306e\u4f8b\u306e\u30c1\u30e5\u30fc\u30c8\u30ea\u30a2\u30eb"}]},{"@type":"WebSite","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#website","url":"https:\/\/www.silicloud.com\/ja\/blog\/","name":"Blog - Silicon Cloud","description":"","inLanguage":"ja"},{"@type":"Person","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/9ee62cea876d247deba14a0ac7ba5b55","name":"\u5149, \u660e","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/3dffb6c754b95e3fbdcd8973f4375ff9dd10d41e4f6632ad08d4d59ccc35af8d?s=96&d=mm&r=g","caption":"\u5149, \u660e"},"url":"https:\/\/www.silicloud.com\/ja\/blog\/author\/hikariakira\/"},{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/www.silicloud.com\/ja\/blog\/primefaces%e3%81%aefileupload%e3%82%b3%e3%83%b3%e3%83%9d%e3%83%bc%e3%83%8d%e3%83%b3%e3%83%88%e3%81%ae%e4%be%8b%e3%81%ae%e3%83%81%e3%83%a5%e3%83%bc%e3%83%88%e3%83%aa%e3%82%a2%e3%83%ab\/#local-main-organization-logo","url":"","contentUrl":"","caption":"Blog - Silicon Cloud"}]}},"_links":{"self":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/586","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/users\/12"}],"replies":[{"embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/comments?post=586"}],"version-history":[{"count":1,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/586\/revisions"}],"predecessor-version":[{"id":42483,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/posts\/586\/revisions\/42483"}],"wp:attachment":[{"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/media?parent=586"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/categories?post=586"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.silicloud.com\/ja\/blog\/wp-json\/wp\/v2\/tags?post=586"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}