You are currently viewing How Can I Fix The Code For Loading Servlet Files?

How Can I Fix The Code For Loading Servlet Files?

Table of Contents

You may encounter an error indicating that the servlet file download code is displayed. There are several steps you can take to resolve this issue, and we’ll get back to that shortly.

Updated

  • 1. Download ASR Pro
  • 2. Run the program
  • 3. Click "Scan Now" to find and remove any viruses on your computer
  • Speed up your computer today with this simple download.

    Servlet can be usedUse with HTML Forms tag so that users can upload files to the server. The added file can be a text file and / or possibly an image file or any document.

    Create A File Upload Form

    What can a servlet be used to upload?

    A servlet can be used with an HTML form tag so that users can upload files to the appropriate server. The uploaded file can be a text or graphic file, or a new document.

    The following HTM creates an upload form. Here are some important points to keep in mind –

    • Form method attribute must be converted to POST method, and GET method may well not be used

    • The enctype attribute of the form must be multipart / form-data.

    • servlet file upload code

      Form action attributes must be set in the servlet document that handles uploading files directly to the server. The following example uses the UploadServlet servlet to upload a file.

    • How to upload a single file in Java?

      The Java Servlet Download File demonstrates how to serve a single file in a large-scale Java application using servlet technology. A servlet is a real Java class that responds to some type of network request – in most cases it can be an HTTP request. Java servlets are used. to create web applications.

      To upload a file, you must use a single tag with the type = “file” attribute. To allow multiple downloads, the files contain multiple jack tags with different values ​​for the reputation attribute. The browser assigns each of them a navigation change.

    File Upload Form

    File upload: Select a file to publish:


    How to upload a file to the server?

    For example: there are still different options for uploading a file to the server. However, I will use the MultipartRequest class provided by oreilly. To use this class, you must provide a cos.jar file. When you download this example, you will get a cos.jar file with code.

    The following output is shown here, which will select a file on the local PC, and if the user only chose Upload File, the form will be marked with the selected file â

    Download files:Select a file to distribute:

    NOTE. This is just a bogus form and now it is far from working.

    Write the main servlet

    Below is the UploadServlet, which is responsible for confirming the uploaded file and saving it in the / webapps / data directory. However, this directory name can also be added with external configuration such as the context-param element in the web.xml file, mainly because it follows’

    …. Downloaded file storage location File upload c: apache-tomcat-5.5.29 webapps data n ……

    According to the source code UploadServlet, which can upload multiple files at the same time. Make sure the

    icon is

    • The following example is directly dependent on FileUpload. So make sure you see the latest commons-fileupload.x.x.jar file in your classpath. You can download it from https://commons.apache.org/fileupload/.

    • FileUpload depends on Commons IO, so make sure you have the latest commons-io-x.x.jar file in your classpath. You can find it at https://commons.apache.org/io/.

    • servlet file upload code

      When testing the following example, everyone must upload a file that is much smaller than maxFileSize, otherwise the file will not upload.

    • Updated

      Are you tired of your computer running slow? Annoyed by frustrating error messages? ASR Pro is the solution for you! Our recommended tool will quickly diagnose and repair Windows issues while dramatically increasing system performance. So don't wait any longer, download ASR Pro today!


      Make sure you create the c: temp and c: apache-tomcat8.0.28 webapps data websites in a timely manner.

    // Import the required Java librariesimport java.io. *;import java.util. *; import javax.servlet.ServletConfig;import javax.servlet.ServletException;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse; import org.apache.commons.fileupload.FileItem;import org.apache.commons.fileupload.FileUploadException;import org.apache.commons.fileupload.disk.DiskFileItemFactory;import org.apache.commons.fileupload.servlet.ServletFileUpload;import org.apache.commons.io.output. *;public class UploadServlet times HttpServlet logical student isMultipart; private string filePath; private int maxFileSize corresponds to 50 * 1024; internal int maxMemSize = 4 * 1024; custom file-file; Bourgeois void init () // Get the location of the file where it will be exactly saved. filePath = getServletContext (). getInitParameter (“File upload”); Arrest void doPost (HttpServletRequest, HttpServletResponse, response) throws ServletException, java.io. ioexception // Check if we are making a file upload request isMultipart = ServletFileUpload.isMultipartContent (request); response.setContentType (“text / html”); java.io.PrintWriter out = response.getWriter (); if (! consists of several parts) out.println (““); out.println (““); out.Upload “); println (” servlet out.println (“</head>“); out.println (“<body>“); out.File println (“</p> <p> not loaded </p> <p>“); out.println (“</body>“); out.println (“</html>“); Get well; Factory DiskFileItemFactory. = New DiskFileItemFactory (); // optimal size for storage in memory factory.setSizeThreshold (maxMemSize); // The storage location is greater than maxMemSize. factory.setRepository (new file (“c: temp”)); // Create a new download manager ServletFileUpload-Upload New = ServletFileUpload (default);// maximum file size for upload. upload.setSizeMax (maxFileSize); Look here // Parse the request to get the elements of the file. List fileItems assumes loading. Parserquest (request); // Process the loaded archive items Iterator i = fileItems.iterator (); out.println (“<html>“); out.println (“<heading>“); out.Upload “); println (” servlet out.println (“</head>“); out.println (“<body>“); while (i.hasNext ()) FileItem fi = (FileItem) i.next (); when! fi (.isFormField ()) // Get the parameters of the uploaded file The fieldName string means fi.getFieldName (); String fileName = fi.getName (); String contentType Fi = .getContentType (); boolean isInMemory = fi. isinmemory (); several years sizeInBytes = fi.getSize (); // Write the file if (fileName.lastIndexOf (“”)> = 0) write = new file (filePath + fileName.substring (fileName.lastIndexOf (“”))); otherwise file = new file (filePath + fileName.substring (fileName.lastIndexOf (“”) + 1)); Fi.write (file); out.println (“Uploaded file name:” File name + + “<br />“); out.println (“</body>“); out.println (“</html>“); capture (exception) System.out.println (ex);void general doGet (HttpServletRequest, HttpServletResponse) throws ServletException, java.io.IOException throw a new ServletException (“GET operation is used with” + getClass () .getName () + “: POST structure required.”); }</pre> <h2 id="12"> Compile And Run The Servlet </h2> <p> Compile the UploadServlet above and create the required cyberspace entry in the XML file as shown below. </p> <p><for><servlet> <servlet-name> Load Servlet </servlet-name> <servlet-class> Load Servlet </servlet-class></servlet><Servlet mapping> <servlet-name> Load Servlet </servlet-name> <url-pattern> / UploadServlet </url-pattern></servlet-mapping></pre> <p></p> <div style="box-shadow: rgba(0, 0, 0, 0.02) 0px 1px 3px 0px, rgba(27, 31, 35, 0.15) 0px 0px 0px 1px;padding:20px 10px 20px 10px;"> <p><h2 id="4">How to upload files with Jakarta EE servlet?</h2> <p>To do this, let’s first look at the Vanilla Jakarta EE variant with file upload capabilities provided by the organic @MultipartConfig annotation. Next, we’ll take a look at the Apache Commons FileUpload library for previous versions of the Servlet API. 2. Using Jakarta EE @MultipartConfig</p> </div> <p> Now try uploading files using the HTML form you created. If you try http: // localhost: 8080 / UploadFile.htm, you’ll usually see how families can help upload files from your nearby computer. </p> <p><for>Download files:</p> <p> Select file in direction <br /> download: </p> </pre> <p><iframe loading="lazy" style="margin-top:20px; margin-bottom:20px; display: block; margin: 0 auto;" width="560" height="315" src="https://www.youtube.com/embed/4yb16lTxbM8" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p> <p> If your servlet script works satisfactorily, the last file should be downloaded to the c: apache-tomcat8.0.28 webapps data directory. </p> <p><time></p> <p> ‘; var adpushup implies adpushup || ; adpushup.que = adpushup.que || []; adpushup.que.push (function () adpushup.triggerAd (ad_id); );</p> </p> <a href="https://link.advancedsystemrepairpro.com/d7b96561?clickId=geeksofknowhere.com" target="_blank" rel="nofollow"> Speed up your computer today with this simple download. </a> </p> <p><a href="https://geeksofknowhere.com/pt/como-posso-corrigir-o-codigo-para-carregar-arquivos-de-servlet/" class="translate">Como Posso Corrigir O Código Para Carregar Arquivos De Servlet?</a><br /> <a href="https://geeksofknowhere.com/nl/hoe-kan-ik-de-code-voor-het-laden-van-servlet-bestanden-repareren/" class="translate">Hoe Kan Ik De Code Voor Het Laden Van Servlet-bestanden Repareren?</a><br /> <a href="https://geeksofknowhere.com/fr/comment-corriger-le-code-de-chargement-des-fichiers-de-servlet/" class="translate">Comment Puis-je Corriger Le Code De Chargement Des Fichiers De Servlet ?</a><br /> <a href="https://geeksofknowhere.com/de/wie-sollte-ich-den-code-zum-laden-von-servlet-dateien-reparieren/" class="translate">Wie Kann Ich Den Code Zum Laden Von Servlet-Dateien Reparieren?</a><br /> <a href="https://geeksofknowhere.com/pl/jak-prawdopodobnie-naprawie-kod-do-strumieniowego-przesylania-plikow-serwletow/" class="translate">Jak Mogę Naprawić Kod Do ładowania Plików Serwletów?</a><br /> <a href="https://geeksofknowhere.com/es/como-puedo-arreglar-el-modo-para-cargar-archivos-servlet/" class="translate">¿Cómo Puedo Corregir El Código Para Cargar Archivos De Servlet?</a><br /> <a href="https://geeksofknowhere.com/ru/%d0%ba%d0%b0%d0%ba-%d1%8f-%d0%bc%d0%be%d0%b3%d1%83-%d0%b8%d1%81%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d1%82%d1%8c-%d0%bf%d1%80%d0%b0%d0%b2%d0%b8%d0%bb%d0%b0-%d0%b7%d0%b0%d0%b3%d1%80%d1%83%d0%b7%d0%ba%d0%b8/" class="translate">Как исправить код загрузки файлов сервлетов?</a><br /> <a href="https://geeksofknowhere.com/ko/%ec%84%9c%eb%b8%94%eb%a6%bf-%ed%8c%8c%ec%9d%bc%ec%9d%84-%eb%a1%9c%eb%93%9c%ed%95%98%ea%b8%b0-%ec%9c%84%ed%95%b4-%ec%9d%b4-%ec%bd%94%eb%93%9c%eb%a5%bc-%ec%88%98%ec%a0%95%ed%95%98%eb%a0%a4%eb%a9%b4/" class="translate">서블릿 파일을 로드하는 코드를 어떻게 수정합니까?</a><br /> <a href="https://geeksofknowhere.com/sv/hur-kan-jag-fixa-den-specifika-koden-for-att-ladda-servletfiler/" class="translate">Hur Kan Jag Fixa Koden För Att Ladda Servletfiler?</a><br /> <a href="https://geeksofknowhere.com/it/come-posso-creare-il-codice-per-caricare-i-file-servlet/" class="translate">Come Posso Correggere Il Codice Per Il Caricamento Dei File Servlet?</a></p> <div class="saboxplugin-wrap" itemtype="http://schema.org/Person" itemscope itemprop="author"><div class="saboxplugin-tab"><div class="saboxplugin-gravatar"><img src="https://geeksofknowhere.com/wp-content/uploads/davidcamacho.jpg" width="100" height="100" alt="David Camacho" itemprop="image"></div><div class="saboxplugin-authorname"><a href="https://geeksofknowhere.com/author/davidcamacho/" class="vcard author" rel="author" itemprop="url"><span class="fn" itemprop="name">David Camacho</span></a></div><div class="saboxplugin-desc"><div itemprop="description"></div></div><div class="clearfix"></div></div></div><div class='yarpp yarpp-related yarpp-related-website yarpp-template-thumbnails'> <!-- YARPP Thumbnails --> <h3>Related posts:</h3> <div class="yarpp-thumbnails-horizontal"> <a class='yarpp-thumbnail' rel='norewrite' href='https://geeksofknowhere.com/en/error-loading-windows-system32-notepad-dll/' title='How To Fix Windows System32 Notepad.dll Loading Errors'> <img width="150" height="150" src="https://geeksofknowhere.com/wp-content/uploads/2021/09/error-loading-windows-system32-notepad-dll-150x150.jpg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" loading="lazy" data-pin-nopin="true" srcset="https://geeksofknowhere.com/wp-content/uploads/2021/09/error-loading-windows-system32-notepad-dll-150x150.jpg 150w, https://geeksofknowhere.com/wp-content/uploads/2021/09/error-loading-windows-system32-notepad-dll-120x120.jpg 120w" sizes="(max-width: 150px) 100vw, 150px" /><span class="yarpp-thumbnail-title">How To Fix Windows System32 Notepad.dll Loading Errors</span></a> <a class='yarpp-thumbnail' rel='norewrite' href='https://geeksofknowhere.com/en/bf2-pb-error-loading-pbcl/' title='Fix Issue With Bf2 Pb Error While Loading Pbcl'> <img width="150" height="150" src="https://geeksofknowhere.com/wp-content/uploads/2021/09/bf2-pb-error-loading-pbcl-150x150.png" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" loading="lazy" data-pin-nopin="true" srcset="https://geeksofknowhere.com/wp-content/uploads/2021/09/bf2-pb-error-loading-pbcl-150x150.png 150w, https://geeksofknowhere.com/wp-content/uploads/2021/09/bf2-pb-error-loading-pbcl-120x120.png 120w" sizes="(max-width: 150px) 100vw, 150px" /><span class="yarpp-thumbnail-title">Fix Issue With Bf2 Pb Error While Loading Pbcl</span></a> <a class='yarpp-thumbnail' rel='norewrite' href='https://geeksofknowhere.com/en/cnet-download-wmp-mp4-codec/' title='Solved: Suggestions To Fix Loading Cnet Codec Wmp Mp4'> <img width="150" height="150" src="https://geeksofknowhere.com/wp-content/uploads/2021/11/cnet-download-wmp-mp4-codec-150x150.jpeg" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" loading="lazy" data-pin-nopin="true" srcset="https://geeksofknowhere.com/wp-content/uploads/2021/11/cnet-download-wmp-mp4-codec-150x150.jpeg 150w, https://geeksofknowhere.com/wp-content/uploads/2021/11/cnet-download-wmp-mp4-codec-120x120.jpeg 120w" sizes="(max-width: 150px) 100vw, 150px" /><span class="yarpp-thumbnail-title">Solved: Suggestions To Fix Loading Cnet Codec Wmp Mp4</span></a> <a class='yarpp-thumbnail' rel='norewrite' href='https://geeksofknowhere.com/en/django-error-loading-psycopg/' title='How Do I Fix Django Errors When Loading Problems With Psycopg?'> <img width="150" height="150" src="https://geeksofknowhere.com/wp-content/uploads/2021/11/django-error-loading-psycopg-150x150.png" class="attachment-thumbnail size-thumbnail wp-post-image" alt="" loading="lazy" data-pin-nopin="true" srcset="https://geeksofknowhere.com/wp-content/uploads/2021/11/django-error-loading-psycopg-150x150.png 150w, https://geeksofknowhere.com/wp-content/uploads/2021/11/django-error-loading-psycopg-120x120.png 120w" sizes="(max-width: 150px) 100vw, 150px" /><span class="yarpp-thumbnail-title">How Do I Fix Django Errors When Loading Problems With Psycopg?</span></a> </div> </div> </div><!-- .entry --> <div class="post-tags clr"> <span class="owp-tag-text">Tags: </span><a href="https://geeksofknowhere.com/tag/ajax/" rel="tag">ajax</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/database/" rel="tag">database</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/download/" rel="tag">download</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/ext-js/" rel="tag">ext js</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/extjs/" rel="tag">extjs</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/java-servlet-jsp/" rel="tag">java servlet jsp</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/javax-servlet/" rel="tag">javax servlet</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/jdbc/" rel="tag">jdbc</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/multipart/" rel="tag">multipart</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/mysql/" rel="tag">mysql</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/project/" rel="tag">project</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/rest-api/" rel="tag">rest api</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/spring/" rel="tag">spring</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/spring-boot/" rel="tag">spring boot</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/spring-mvc/" rel="tag">spring mvc</a><span class="owp-sep">,</span> <a href="https://geeksofknowhere.com/tag/upload-example/" rel="tag">upload example</a></div> <nav class="navigation post-navigation" aria-label="Read more articles"> <h2 class="screen-reader-text">Read more articles</h2> <div class="nav-links"><div class="nav-previous"><a href="https://geeksofknowhere.com/en/slow-internet-for-macbook/" rel="prev"><span class="title"><i class=" fas fa-long-arrow-alt-left" aria-hidden="true" role="img"></i> Previous Post</span><span class="post-title">How To Fix Slow Internet Problem On MacBook?</span></a></div><div class="nav-next"><a href="https://geeksofknowhere.com/en/there-is-no-message-text-corresponding-to-sql-error/" rel="next"><span class="title"><i class=" fas fa-long-arrow-alt-right" aria-hidden="true" role="img"></i> Next Post</span><span class="post-title">Steps To Correct Missing Message Text For SQL Error</span></a></div></div> </nav> <section id="related-posts" class="clr"> <h3 class="theme-heading related-posts-title"> <span class="text">You Might Also Like</span> </h3> <div class="oceanwp-row clr"> <article class="related-post clr col span_1_of_3 col-1 post-128736 post type-post status-publish format-standard has-post-thumbnail hentry category-en tag-boot-into tag-boot-options tag-cmd tag-command-line tag-command-prompt tag-exit-safe tag-f8-key tag-hp-laptop tag-prompt tag-reboot tag-recovery tag-starting-windows tag-startup tag-system-configuration tag-windows-vista entry has-media"> <figure class="related-post-media clr"> <a href="https://geeksofknowhere.com/en/run-safe-mode-windows-7-starter/" class="related-thumb"> <img width="300" height="225" src="https://geeksofknowhere.com/wp-content/uploads/2022/02/run-safe-mode-windows-7-starter-300x225.jpg" class="attachment-medium size-medium wp-post-image" alt="Read more about the article Follow The Instructions To Restore Windows 7 Starter In Safe Mode." loading="lazy" itemprop="image" srcset="https://geeksofknowhere.com/wp-content/uploads/2022/02/run-safe-mode-windows-7-starter-300x225.jpg 300w, https://geeksofknowhere.com/wp-content/uploads/2022/02/run-safe-mode-windows-7-starter-768x576.jpg 768w, https://geeksofknowhere.com/wp-content/uploads/2022/02/run-safe-mode-windows-7-starter.jpg 1024w" sizes="(max-width: 300px) 100vw, 300px" /> </a> </figure> <h3 class="related-post-title"> <a href="https://geeksofknowhere.com/en/run-safe-mode-windows-7-starter/" rel="bookmark">Follow The Instructions To Restore Windows 7 Starter In Safe Mode.</a> </h3><!-- .related-post-title --> <time class="published" datetime="2022-02-09T01:23:58+00:00"><i class=" icon-clock" aria-hidden="true" role="img"></i>February 9, 2022</time> </article><!-- .related-post --> <article class="related-post clr col span_1_of_3 col-2 post-74843 post type-post status-publish format-standard has-post-thumbnail hentry category-en tag-big-sur tag-black-screen tag-computer tag-computer-restarted tag-disk tag-gray-screen tag-installed tag-internet-recovery tag-kernel tag-kernel-panic tag-macos-could tag-problem tag-startup-disk tag-update tag-windows tag-windows-10 entry has-media"> <figure class="related-post-media clr"> <a href="https://geeksofknowhere.com/en/imac-restart-error-message/" class="related-thumb"> <img width="300" height="162" src="https://geeksofknowhere.com/wp-content/uploads/2021/11/imac-restart-error-message-300x162.jpg" class="attachment-medium size-medium wp-post-image" alt="Read more about the article Solved: Suggestions To Fix Imac Restart Error Message" loading="lazy" itemprop="image" srcset="https://geeksofknowhere.com/wp-content/uploads/2021/11/imac-restart-error-message-300x162.jpg 300w, https://geeksofknowhere.com/wp-content/uploads/2021/11/imac-restart-error-message-1024x554.jpg 1024w, https://geeksofknowhere.com/wp-content/uploads/2021/11/imac-restart-error-message-768x415.jpg 768w, https://geeksofknowhere.com/wp-content/uploads/2021/11/imac-restart-error-message.jpg 1280w" sizes="(max-width: 300px) 100vw, 300px" /> </a> </figure> <h3 class="related-post-title"> <a href="https://geeksofknowhere.com/en/imac-restart-error-message/" rel="bookmark">Solved: Suggestions To Fix Imac Restart Error Message</a> </h3><!-- .related-post-title --> <time class="published" datetime="2021-11-21T09:15:36+00:00"><i class=" icon-clock" aria-hidden="true" role="img"></i>November 21, 2021</time> </article><!-- .related-post --> <article class="related-post clr col span_1_of_3 col-3 post-110029 post type-post status-publish format-standard has-post-thumbnail hentry category-en tag-airbus tag-aircraft tag-dx10-fixer tag-dx9 tag-flight-sim tag-flying tag-fsx-dx10-scenery-fixer tag-fsx-steam-edition tag-games tag-landing tag-p3d tag-settings tag-steve-parsons entry has-media"> <figure class="related-post-media clr"> <a href="https://geeksofknowhere.com/en/using-directx-10-in-fsx/" class="related-thumb"> <img width="300" height="169" src="https://geeksofknowhere.com/wp-content/uploads/2021/12/using-directx-10-in-fsx-300x169.jpg" class="attachment-medium size-medium wp-post-image" alt="Read more about the article Best Way To Uninstall Using DirectX 10 In Fsx" loading="lazy" itemprop="image" srcset="https://geeksofknowhere.com/wp-content/uploads/2021/12/using-directx-10-in-fsx-300x169.jpg 300w, https://geeksofknowhere.com/wp-content/uploads/2021/12/using-directx-10-in-fsx-1024x576.jpg 1024w, https://geeksofknowhere.com/wp-content/uploads/2021/12/using-directx-10-in-fsx-768x432.jpg 768w, https://geeksofknowhere.com/wp-content/uploads/2021/12/using-directx-10-in-fsx.jpg 1280w" sizes="(max-width: 300px) 100vw, 300px" /> </a> </figure> <h3 class="related-post-title"> <a href="https://geeksofknowhere.com/en/using-directx-10-in-fsx/" rel="bookmark">Best Way To Uninstall Using DirectX 10 In Fsx</a> </h3><!-- .related-post-title --> <time class="published" datetime="2021-12-31T01:19:03+00:00"><i class=" icon-clock" aria-hidden="true" role="img"></i>December 31, 2021</time> </article><!-- .related-post --> </div><!-- .oceanwp-row --> </section><!-- .related-posts --> </article> </div><!-- #content --> </div><!-- #primary --> <aside id="right-sidebar" class="sidebar-container widget-area sidebar-primary" itemscope="itemscope" itemtype="https://schema.org/WPSideBar" role="complementary" aria-label="Primary Sidebar"> <div id="right-sidebar-inner" class="clr"> <div id="search-2" class="sidebar-box widget_search clr"> <form role="search" method="get" class="searchform" action="https://geeksofknowhere.com/"> <label for="ocean-search-form-2"> <span class="screen-reader-text">Search this website</span> <input type="search" id="ocean-search-form-2" class="field" autocomplete="off" placeholder="Search" name="s"> </label> </form> </div> </div><!-- #sidebar-inner --> </aside><!-- #right-sidebar --> </div><!-- #content-wrap --> </main><!-- #main --> <footer id="footer" class="site-footer" itemscope="itemscope" itemtype="https://schema.org/WPFooter" role="contentinfo"> <div id="footer-inner" class="clr"> <div id="footer-widgets" class="oceanwp-row clr"> <div class="footer-widgets-inner container"> <div class="footer-box span_1_of_4 col col-1"> </div><!-- .footer-one-box --> <div class="footer-box span_1_of_4 col col-2"> </div><!-- .footer-one-box --> <div class="footer-box span_1_of_4 col col-3 "> </div><!-- .footer-one-box --> <div class="footer-box span_1_of_4 col col-4"> </div><!-- .footer-box --> </div><!-- .container --> </div><!-- #footer-widgets --> <div id="footer-bottom" class="clr no-footer-nav"> <div id="footer-bottom-inner" class="container clr"> <div id="copyright" class="clr" role="contentinfo"> Copyright - OceanWP Theme by OceanWP </div><!-- #copyright --> </div><!-- #footer-bottom-inner --> </div><!-- #footer-bottom --> </div><!-- #footer-inner --> </footer><!-- #footer --> </div><!-- #wrap --> </div><!-- #outer-wrap --> <a aria-label="Scroll to the top of the page" href="#" id="scroll-top" class="scroll-top-right"><i class=" fa fa-angle-up" aria-hidden="true" role="img"></i></a> <!-- Start of StatCounter Code --> <script> <!-- var sc_project=12605795; var sc_security="4e141349"; var sc_invisible=1; var scJsHost = (("https:" == document.location.protocol) ? "https://secure." : "http://www."); //--> </script> <script type="text/javascript" src="https://secure.statcounter.com/counter/counter.js" async></script> <noscript><div class="statcounter"><a title="web analytics" href="https://statcounter.com/"><img class="statcounter" src="https://c.statcounter.com/12605795/0/4e141349/1/" alt="web analytics" /></a></div></noscript> <!-- End of StatCounter Code --> <script src='https://geeksofknowhere.com/wp-content/plugins/contact-form-7/includes/swv/js/index.js?ver=5.6.3' id='swv-js'></script> <script id='contact-form-7-js-extra'> var wpcf7 = {"api":{"root":"https:\/\/geeksofknowhere.com\/wp-json\/","namespace":"contact-form-7\/v1"}}; </script> <script src='https://geeksofknowhere.com/wp-content/plugins/contact-form-7/includes/js/index.js?ver=5.6.3' id='contact-form-7-js'></script> <script src='https://geeksofknowhere.com/wp-includes/js/imagesloaded.min.js?ver=4.1.4' id='imagesloaded-js'></script> <script id='oceanwp-main-js-extra'> var oceanwpLocalize = {"nonce":"056b34702a","isRTL":"","menuSearchStyle":"drop_down","mobileMenuSearchStyle":"disabled","sidrSource":null,"sidrDisplace":"1","sidrSide":"left","sidrDropdownTarget":"link","verticalHeaderTarget":"link","customSelects":".woocommerce-ordering .orderby, #dropdown_product_cat, .widget_categories select, .widget_archive select, .single-product .variations_form .variations select"}; </script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/theme.min.js?ver=3.3.5' id='oceanwp-main-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/drop-down-mobile-menu.min.js?ver=3.3.5' id='oceanwp-drop-down-mobile-menu-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/drop-down-search.min.js?ver=3.3.5' id='oceanwp-drop-down-search-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/vendors/magnific-popup.min.js?ver=3.3.5' id='ow-magnific-popup-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/ow-lightbox.min.js?ver=3.3.5' id='oceanwp-lightbox-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/vendors/flickity.pkgd.min.js?ver=3.3.5' id='ow-flickity-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/ow-slider.min.js?ver=3.3.5' id='oceanwp-slider-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/scroll-effect.min.js?ver=3.3.5' id='oceanwp-scroll-effect-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/scroll-top.min.js?ver=3.3.5' id='oceanwp-scroll-top-js'></script> <script src='https://geeksofknowhere.com/wp-content/themes/oceanwp/assets/js/select.min.js?ver=3.3.5' id='oceanwp-select-js'></script> <script src='https://geeksofknowhere.com/wp-content/plugins/easy-table-of-contents/vendor/smooth-scroll/jquery.smooth-scroll.min.js?ver=2.2.0' id='ez-toc-jquery-smooth-scroll-js'></script> <script src='https://geeksofknowhere.com/wp-content/plugins/easy-table-of-contents/vendor/js-cookie/js.cookie.min.js?ver=2.2.1' id='ez-toc-js-cookie-js'></script> <script src='https://geeksofknowhere.com/wp-content/plugins/easy-table-of-contents/vendor/sticky-kit/jquery.sticky-kit.min.js?ver=1.9.2' id='ez-toc-jquery-sticky-kit-js'></script> <script id='ez-toc-js-js-extra'> var ezTOC = {"smooth_scroll":"1","visibility_hide_by_default":"","width":"auto","scroll_offset":"30"}; </script> <script src='https://geeksofknowhere.com/wp-content/plugins/easy-table-of-contents/assets/js/front.min.js?ver=2.0.34-1664989355' id='ez-toc-js-js'></script> </body> </html>