Java Tomcat Hosting

Account specs

Discover the possibilities

Java Environment Setup

How to guides

Pricing & Ordering

Specials

 


100% Secure Ordering
Privacy Policy
Money back guarantee

 

How to work with
Servlets
Java Development Frameworks
Tomcat & Database
Deploying webapps
JSPs and PHPs
Ecommerce and Java
https through Tomcat

 

 

Host of choice for 1,900+

Java Developers

 

 Why host with Oxxus
 Customer Testimonials
 Meet the Oxxus Team

 

Domain Search: www.

SERVERS & NETWORK  |  SUPPORT  |  WHY OXXUS  |  TESTIMONIALS  |  ABOUT US  |  CONTACT |  ORDER NOW

 

 Java Servlet Hosting 


 

 

 

Untitled Document

How to setup Servlets on our system

To setup servlet, you need to configure servlet into the file web.xml

 

web.xml file location

/var/www/html/WEB-INF/ directory

www root directory or webapps:/var/www/htm

 

Classes directory location

/var/www/html/WEB-INF/Classes/

There you will need to upload your Java class file.

 

Default url-mapping for servlet is: /servlet/*
To check servlet in your browser: www.mydomain.net/servlet/HelloWorld

 

Servlets in other directories

If you have defined additional servlets that are beside from the default /servlet/ dispository you have to contact us with the names of those servlets so we can map them to your tomcat in order to be correctly deployed.

 

How do I add a servlet mapping?
You have to cantact us and we will map your folder with ajp13 connector

 

Jsp files location

Upload anywhere in /var/www/html

 

DOUBLE CHECK:
Double Check that that url-mapping for servlers is entered corectly in web.xml
Double Check that Java class file is uploaded in the corect place.
Without these two things your servlet will not work.

 

 

Compile Servlets directly on the server

All accounts come with Java compiler (javac) by default.

javac from j2sdk1.4.2 package with Tomcat4 hosting plan, and javac from j2sdk1.5.0 package with Tomcat5 web hosting plan.

 

 

j2sdk v1.4 option works with servlets v2.3 while j2sdk v1.5 setup option works with servlets v2.4 .

 

 

 

See also:

Working with Tomcat & Database

Running JSPs and PHPs

Java development frameworks

Ecommerce and Java

Deploying webapps

Setting up JavaMail

ZERO downtime transfers

 

 

 

 

 

 

 

 

See list of ALL supported technologies and account features

 

 

Need further assistance? 

Visit our Java knowledge base or

contact us and we'll be happy to help

 

 

 

Copyright ® 2003-2007 Oxxus.Net * USA * UK * AUP * Best web hosting solutions from internets leading web hosting provider * Tutorials * Resources * Blog * FAQ
JSP hosting * Java hosting * Servlet hosting * J2EE hosting * Tomcat hosting * PHP hosting * SSL hosting