{"id":108962,"date":"2021-02-23T07:00:00","date_gmt":"2021-02-23T05:00:00","guid":{"rendered":"https:\/\/www.javacodegeeks.com\/?p=108962"},"modified":"2021-02-22T15:15:11","modified_gmt":"2021-02-22T13:15:11","slug":"uploading-files-in-spring-boot-application","status":"publish","type":"post","link":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html","title":{"rendered":"Uploading files in Spring Boot application"},"content":{"rendered":"<p>Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy it to the file system on the server.<\/p>\n<h2 class=\"wp-block-heading\">Creating a HTML form with file upload option<\/h2>\n<p>The below HTML code and its corresponding Javascript code creates the HTML form and binds the form with the API created in your Spring Boot application:<\/p>\n<pre class=\"brush:html\">\n<form class=\"form\" id=\"file-upload-form\"\n  enctype=\"multipart\/form-data\">\n  <div class=\"form-group\">\n    <label class=\"form-label required\">\n      Select File (multiple supported)\n    <\/label>\n    <input type=\"file\" multiple class=\"form-control required\"\n      id=\"uploaded-file\" name=\"uploaded-file\" \/>\n  <\/div>\n  <div>&nbsp;<\/div>\n  <button class=\"btn btn-primary\" type=\"submit\">Upload<\/button>\n<\/form>\n \n<script>\n  $(function (){\n    $(\"#file-upload-form\").submit(function (){\n      $(this).ajaxSubmit({\n        beforeSubmit: function (){\n            return $('#file-upload-form').valid();\n        },\n        success: function(response){\n            alert(\"Successfully uploaded the files\");\n        },\n        error: function(){\n            alert(\"Error occurred while uploading the files\");\n        },\n        url: '\/api\/files\/upload',\n        type: 'POST'\n      });\n      return false;\n    });\n  });\n<\/script>\n<\/pre>\n<p><code>enctype=\"multipart\/form-data\"<\/code>&nbsp;is an important attribute which should be present in the&nbsp;<code>&lt;form&gt;<\/code>&nbsp;that deals with uploading files.<\/p>\n<p>In the above HTML I am using&nbsp;<a rel=\"noreferrer noopener\" href=\"https:\/\/jqueryvalidation.org\/\" target=\"_blank\">jQuery Validation<\/a>&nbsp;and&nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/malsup.com\/jquery\/form\/#getting-started\" target=\"_blank\">jQuery Form Plugin<\/a>&nbsp;to handle form validations as well as submitting them asynchronously.<div style=\"display:inline-block; margin: 15px 0;\"> <div id=\"adngin-JavaCodeGeeks_incontent_video-0\" style=\"display:inline-block;\"><\/div> <\/div><\/p>\n<h2 class=\"wp-block-heading\">Server side code to handle file uploads<\/h2>\n<p>There will be two components in the server side:<\/p>\n<ul class=\"wp-block-list\">\n<li>API Controller to receive the uploaded files.<\/li>\n<li>Code to copy the files to File System or any other file storage location.<\/li>\n<\/ul>\n<h3 class=\"wp-block-heading\">API Controller<\/h3>\n<p>Below is the code for the API to receive the uploaded files:<\/p>\n<pre class=\"brush:html\">\n@PostMapping(\"\/upload\")\npublic ResponseEntity<?> handleFileUpload(\n  @RequestParam(\"uploaded-file\") List<MultipartFile> uploadedFiles){\n   \n  log.debug(\"Uploaded files size : {}\", uploadedFiles.size());\n   \n  fileService.copyFile(uploadedFiles);\n   \n  return ResponseEntity.ok().build();\n<\/pre>\n<p>It is important to note that the value passed to the annotation&nbsp;<code>@RequestParam<\/code>&nbsp;should match the value of the&nbsp;<code>name<\/code>&nbsp;attribute of the&nbsp;<code>&lt;input type=\"file\" \/&gt;<\/code>&nbsp;HTML element.<\/p>\n<p>Let us look at the&nbsp;<code>copyFile<\/code>&nbsp;method implementation:<\/p>\n<pre class=\"brush:html\">\n@Service\npublic class FileService {\n  @Value(\"${app.document-root}\")String documentRoot;\n \n  public void copyFile(List<MultipartFile> uploadedFiles) throws IOException{\n \n    try {\n      Path docRootPath = Path.of(documentRoot);\n      if ( !Files.exists(docRootPath)){\n        Files.createDirectory(docRootPath);\n      }\n      for (MultipartFile multipartFile : uploadedFiles) {\n        String fileName = multipartFile.getOriginalFilename();\n        multipartFile.transferTo(Path.of(documentRoot, fileName));\n      }\n    } catch (IOException e) {\n      log.error(\"Error occurred while copying file\", e);\n      throw e;\n    }\n  }\n}\n<\/pre>\n<p><code>MultipartFile<\/code>&nbsp;is an interface provided by Spring framework for working with uploaded files. By default the uploaded file is wrapped in&nbsp;<code>StandardMultipartFile<\/code>&nbsp;which is one of the implementations of&nbsp;<code>MultipartFile<\/code>. We make use of the method&nbsp;<code>transferTo<\/code>&nbsp;to copy the uploaded file to our desired destination on the file system.<\/p>\n<p>The property&nbsp;<code>app.document-root<\/code>&nbsp;is defined in the file&nbsp;<code>application.properties<\/code><\/p>\n<h3 class=\"wp-block-heading\">Properties to configure file upload size limits<\/h3>\n<p>Spring boot provides certain properties to configure the size limit of the file uploaded:<\/p>\n<ul class=\"wp-block-list\">\n<li>spring.servlet.multipart.max-file-size \u2013 this property controls the maxmium size of the file uploaded<\/li>\n<li>spring.servlet.multipart.max-request-size \u2013 this property controls the maximum size of the request (which includes the total size of all the files uploaded).<\/li>\n<\/ul>\n<p>The complete application can be found in the GitHub project&nbsp;<a href=\"https:\/\/github.com\/sanaulla123\/samples\/tree\/master\/file-upload-demo\" target=\"_blank\" rel=\"noreferrer noopener\">here<\/a>.<\/p>\n<p>In next set of posts we will see how to make use of Apache Commons File library to handle file uploads and also how to copy to other storage services like S3.<\/p>\n<div class=\"attribution\">\n<table>\n<tbody>\n<tr>\n<td>Published on Java Code Geeks with permission by Mohamed Sanaulla, partner at our <a target=\"_blank\" href=\"\/\/www.javacodegeeks.com\/join-us\/jcg\/\" rel=\"noopener\">JCG program<\/a>. See the original article here: <a target=\"_blank\" href=\"https:\/\/sanaulla.info\/2021\/02\/17\/uploading-files-in-spring-boot-application\/\" rel=\"noopener\">Uploading files in Spring Boot application<\/a><\/p>\n<p>Opinions expressed by Java Code Geeks contributors are their own.<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy it to the file system on the server. Creating a HTML form with file upload option The below HTML code and its corresponding Javascript code &hellip;<\/p>\n","protected":false},"author":24,"featured_media":240,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[8],"tags":[30,854],"class_list":["post-108962","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-enterprise-java","tag-spring","tag-spring-boot"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.5 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Uploading files in Spring Boot application - Java Code Geeks<\/title>\n<meta name=\"description\" content=\"Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy\" \/>\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.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Uploading files in Spring Boot application - Java Code Geeks\" \/>\n<meta property=\"og:description\" content=\"Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html\" \/>\n<meta property=\"og:site_name\" content=\"Java Code Geeks\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/javacodegeeks\" \/>\n<meta property=\"article:published_time\" content=\"2021-02-23T05:00:00+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"150\" \/>\n\t<meta property=\"og:image:height\" content=\"150\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Mohamed Sanaulla\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:site\" content=\"@javacodegeeks\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Mohamed Sanaulla\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html\"},\"author\":{\"name\":\"Mohamed Sanaulla\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/d27ef53124d64097c81168263af5a7f7\"},\"headline\":\"Uploading files in Spring Boot application\",\"datePublished\":\"2021-02-23T05:00:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html\"},\"wordCount\":412,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"keywords\":[\"Spring\",\"Spring Boot\"],\"articleSection\":[\"Enterprise Java\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html\",\"name\":\"Uploading files in Spring Boot application - Java Code Geeks\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"datePublished\":\"2021-02-23T05:00:00+00:00\",\"description\":\"Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html#primaryimage\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2012\\\/10\\\/spring-logo.jpg\",\"width\":150,\"height\":150,\"caption\":\"spring-interview-questions-answers\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/2021\\\/02\\\/uploading-files-in-spring-boot-application.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Enterprise Java\",\"item\":\"https:\\\/\\\/www.javacodegeeks.com\\\/category\\\/java\\\/enterprise-java\"},{\"@type\":\"ListItem\",\"position\":4,\"name\":\"Uploading files in Spring Boot application\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#website\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"name\":\"Java Code Geeks\",\"description\":\"Java Developers Resource Center\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\"},\"alternateName\":\"JCG\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.javacodegeeks.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#organization\",\"name\":\"Exelixis Media P.C.\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"contentUrl\":\"https:\\\/\\\/www.javacodegeeks.com\\\/wp-content\\\/uploads\\\/2022\\\/06\\\/exelixis-logo.png\",\"width\":864,\"height\":246,\"caption\":\"Exelixis Media P.C.\"},\"image\":{\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/javacodegeeks\",\"https:\\\/\\\/x.com\\\/javacodegeeks\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.javacodegeeks.com\\\/#\\\/schema\\\/person\\\/d27ef53124d64097c81168263af5a7f7\",\"name\":\"Mohamed Sanaulla\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/64131fe9e9472b8852abf595cbbf3a8a2a5e86569fa1349eed92b2a32f9104c1?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/64131fe9e9472b8852abf595cbbf3a8a2a5e86569fa1349eed92b2a32f9104c1?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/64131fe9e9472b8852abf595cbbf3a8a2a5e86569fa1349eed92b2a32f9104c1?s=96&d=mm&r=g\",\"caption\":\"Mohamed Sanaulla\"},\"sameAs\":[\"http:\\\/\\\/blog.sanaulla.info\"],\"url\":\"https:\\\/\\\/www.javacodegeeks.com\\\/author\\\/Mohamed-Sanaulla\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Uploading files in Spring Boot application - Java Code Geeks","description":"Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy","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.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html","og_locale":"en_US","og_type":"article","og_title":"Uploading files in Spring Boot application - Java Code Geeks","og_description":"Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy","og_url":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html","og_site_name":"Java Code Geeks","article_publisher":"https:\/\/www.facebook.com\/javacodegeeks","article_published_time":"2021-02-23T05:00:00+00:00","og_image":[{"width":150,"height":150,"url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","type":"image\/jpeg"}],"author":"Mohamed Sanaulla","twitter_card":"summary_large_image","twitter_creator":"@javacodegeeks","twitter_site":"@javacodegeeks","twitter_misc":{"Written by":"Mohamed Sanaulla","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html#article","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html"},"author":{"name":"Mohamed Sanaulla","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/d27ef53124d64097c81168263af5a7f7"},"headline":"Uploading files in Spring Boot application","datePublished":"2021-02-23T05:00:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html"},"wordCount":412,"commentCount":0,"publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","keywords":["Spring","Spring Boot"],"articleSection":["Enterprise Java"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html","url":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html","name":"Uploading files in Spring Boot application - Java Code Geeks","isPartOf":{"@id":"https:\/\/www.javacodegeeks.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html#primaryimage"},"image":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html#primaryimage"},"thumbnailUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","datePublished":"2021-02-23T05:00:00+00:00","description":"Uploading files is one of the most common operations in a web application. In this article we will look at how to upload file from an HTML page and copy","breadcrumb":{"@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html#primaryimage","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2012\/10\/spring-logo.jpg","width":150,"height":150,"caption":"spring-interview-questions-answers"},{"@type":"BreadcrumbList","@id":"https:\/\/www.javacodegeeks.com\/2021\/02\/uploading-files-in-spring-boot-application.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.javacodegeeks.com\/"},{"@type":"ListItem","position":2,"name":"Java","item":"https:\/\/www.javacodegeeks.com\/category\/java"},{"@type":"ListItem","position":3,"name":"Enterprise Java","item":"https:\/\/www.javacodegeeks.com\/category\/java\/enterprise-java"},{"@type":"ListItem","position":4,"name":"Uploading files in Spring Boot application"}]},{"@type":"WebSite","@id":"https:\/\/www.javacodegeeks.com\/#website","url":"https:\/\/www.javacodegeeks.com\/","name":"Java Code Geeks","description":"Java Developers Resource Center","publisher":{"@id":"https:\/\/www.javacodegeeks.com\/#organization"},"alternateName":"JCG","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.javacodegeeks.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.javacodegeeks.com\/#organization","name":"Exelixis Media P.C.","url":"https:\/\/www.javacodegeeks.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","contentUrl":"https:\/\/www.javacodegeeks.com\/wp-content\/uploads\/2022\/06\/exelixis-logo.png","width":864,"height":246,"caption":"Exelixis Media P.C."},"image":{"@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/javacodegeeks","https:\/\/x.com\/javacodegeeks"]},{"@type":"Person","@id":"https:\/\/www.javacodegeeks.com\/#\/schema\/person\/d27ef53124d64097c81168263af5a7f7","name":"Mohamed Sanaulla","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/64131fe9e9472b8852abf595cbbf3a8a2a5e86569fa1349eed92b2a32f9104c1?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/64131fe9e9472b8852abf595cbbf3a8a2a5e86569fa1349eed92b2a32f9104c1?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/64131fe9e9472b8852abf595cbbf3a8a2a5e86569fa1349eed92b2a32f9104c1?s=96&d=mm&r=g","caption":"Mohamed Sanaulla"},"sameAs":["http:\/\/blog.sanaulla.info"],"url":"https:\/\/www.javacodegeeks.com\/author\/Mohamed-Sanaulla"}]}},"_links":{"self":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/108962","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/users\/24"}],"replies":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/comments?post=108962"}],"version-history":[{"count":0,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/posts\/108962\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media\/240"}],"wp:attachment":[{"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/media?parent=108962"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/categories?post=108962"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.javacodegeeks.com\/wp-json\/wp\/v2\/tags?post=108962"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}