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...

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....

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...

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.

Installing a Java Package

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

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...

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,...

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...

Where is my AppBase directory for Tomcat?

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

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.

Do I get my own WEB-INF directory?

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

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...

Updating a War File

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

Can I use third-party Java packages?

Yes, you can install any version of any Java package you want. jdom.jar, dom.jar,...

What SMTP server can I use with JavaMail?

To connect to the JavaMail SMTP server , use relay-hosting.secureserver.net ....

Using War Files with Tomcat

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

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...