Tutorials

Welcome to the Servlets.Net Tutorial section! Here you'll find how-to's, reference guides, and step-by-step instructions to help your site become the best on the Web! Check back frequently, because we're always adding material to this section. To view a tutorial, just select a category from the list on the left, then a tutorial from the list on the right.


 
Your Account
Java Servlets
Java Server Pages
Shared Servlet Library
JVM Control
 
 
 
Account Configuration
Outlook Configuration
 

 
 
 

Servlets.Net accounts are extremely flexible, allowing you to attach any number of additional services to your account. The directory structure and configuration of your account supports this flexible nature. At first glance, your account may seem overly complex, but it will make sense once you appreciate the simple logic behind it.

UNIX User. The starting point for understanding your account�s configuration is your Primary UNIX User. A UNIX User has a name that distinguishes it from other customers� UNIX Users. It provides you with a home directory for your files, an e-mail box, and access to your account via the POP3, FTP, telnet, and SSH protocols. Each UNIX User also comes with a certain amount of Disk Space. Be careful not to confuse a UNIX User with your Servlets.Net Account.

Attaching Services. You can attach other services to this UNIX User, including Virtual Servers, Java Virtual Machines, and MySQL Databases. You can even add additional UNIX Users to your Servlets.Net Account and attach services to them. All of these services are contained within a single Servlets.Net account and are billed together. Of course, you can always create a new Servlets.Net account if you wish to separate your services or billing.

Example Structure. Here is a sample directory structure. In this sample, the Servlets.Net account name (and the Primary UNIX User name) is "sample". This account has a JVM, a database, and two web sites.

See explanations below

/home/sample/
The home directory for the UNIX User named "sample".
/home/sample/.db/
All MySQL Databases are stored in this hidden directory. Since each UNIX User can have multiple MySQL Databases, it contains a directory for each of them.
/home/sample/.db/sample_db1
The directory for the MySQL Database named "sample_db1". All databases are named by combining your UNIX User name with a unique name that you provide.
/home/sample/www/
All Virtual Servers are stored in this directory. Since each UNIX User can have multiple Virtual Servers, it contains a directory for each of them. This dire