Frequently Asked Questions

Help Center Search

Java Articles

What file extensions does Apache pass to Tomcat?

Files processed by Apache are affected by .htaccess settings, whereas files passed to...

What SMTP server can I use with JavaMail?

You can send up to 1,000 email messages per day through JavaMail using...

Can I use third-party Java packages?

Yes. You can install any version of any Java package. The following are installed...

Is my Java-enabled hosting account running in a shared JVM or a private JVM?

All of our Java-enabled hosting accounts are running in a shared JVM. NOTE:...

Connecting to a MySQL Database on Your Linux Hosting Account Using JSP

This example describes using JSP to connect to a MySQL Database on a Linux hosting...

Configuring a JSP Handler to Use with JSP and Web.xml

If you are using JSP and a custom web.xml file, you need to configure a JSP handler in...

Which version of Tomcat do you use on your Java-enabled hosting accounts?

We are currently using Tomcat 5.0.27 for our Java-enabled hosting accounts. NOTE:...

What email or relay server should I use in my Java code?

Use the following relay server in your Java code: relay-hosting.secureserver.net...

Installing a Java Package

To install a Java package, simply place the jar file in the following directory on...

Do I retain all the non-Java hosting functionalities after I apply Java support?

A Java-enabled account supports both PHP and CGI. Jk2-2.0.4 is used to connect Apache...

Can I deploy my application using a war file?

Yes. To deploy an application, create a war file and place it in your home directory....

Can I restart the Tomcat service on my Linux shared hosting account?

No, on a shared hosting account, you cannot restart the Tomcat service. However,...

Where is my AppBase directory for Tomcat?

The AppBase directory for Tomcat is the same as the home directory of Apache.

Do I get my own WEB-INF directory?

Yes, you have your own WEB-INF directory. The WEB-INF directory is for your default...

Updating a War File

To update a war file, first remove the exploded directory for the existing war file;...

Using War Files with Tomcat

When deploying a .war file on a hosting account running Tomcat, the file will be...

Adding a Java Servlet to Your Web Site

To deploy a servlet, you first need to compile it at your local box. Next, you can...