Where should I put my Java classes ?

Java classes need to be arranged in the proper directories in order for the Tomcat server to find them. For example, classes with no package would be in:


/home/username/public_html/WEB-INF/classes

classes in package com.company would be in:

/home/username/public_html/WEB-INF/classes/com/company

classes in package com.company.product.module would be in:

/home/username/public_html/WEB-INF/classes/com/company/project/module

etc.

In addition, you can put classes in JAR files in the following directory:

/home/username/public_html/WEB-INF/lib

 

  • Email, SSL
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

What is the difference between shared SSL and private SSL?

A shared SSL displays as https://ip/~yourusername/. A private SSL would display as...

Why are my FrontPage extensions not working?

You must first make sure you have installed the extensions from going into your cpanel and...

Application Paths

Here are the applications paths. If you do not see what you are looking for, please email...

Custom error pages

To create a custom error page for your account you will need to upload a file with the...

How do I use SSL to setup my email?

Set your mail server to the host name for SMTP/POP3/IMAP (instead of domain.com) and then make...