Back to HostIgnition Request New Article Contact Us

Member Login

  Main Page >>  JSP & Java Servlets >>  Where should I upload my JSP scripts and servlets?

Where should I upload my JSP scripts and servlets?
For all your JSP scripts, they should be uploaded to public_html, or subfolders within public_html.

For servlets, WEB-INF/web.xml must be configured to be able to handle your servlets. For example configuration, please following the format of the test servlet's configuration in public_html/WEB-INF/web.xml. Your servlet classes should be uploaded to public_html/WEB-INF/classes, with the directory structure of your classes' package.

For example, if handler.class is in package com.example, then it should be uploaded to:
  • WEB-INF/classes/com/example/handler.class

  • Got Questions? Need Assistance?
    Submit a Support Ticket
    Login and submit a support ticket to have our technical support assist you:



    Copyright (c) 2008 HostIgnition
    Virtual Web Hosting | Dedicated Servers | Resellers | About Us | Contact Us