Tims Servlet Tutorial

Tutorial Home

  1. What are servlets ?
  2. The Hello World Servlet
  3. Running Servlets
  4. Reading Form Data
  5. Servlet Configuration
  6. Client Side Form Validation
  7. Cookies
  8. Sessions
  9. Authentication
  10. Dynamic Images
  11. Design, Testing, Security
  12. Servlets and Apache
  13. Using Servlets in SOCS

Using servlets in SOCS


If you are in the University of Birmingham, School of Computer Science, just add the following line to your '.login' file to use the JSDK 2.0 API to develop servlets :-

source /home/telematics/software/setup/jsdk2.0


RECCOMENDED VERSION : For a more sophisticated setup with support for web pages as well as servlets, use JSDK 2.1, by putting the following into your .login file. :-

setup java/JSDK
setenv PATH /bham/java/packages/jsdk-2.1/:$PATH


If you wish to use Apache Tomcat, the add the following :-

setup java/J2EE setup java/Tomcat

For more info on using tomcat in SOCS click here.


Please note : These three alternatives are mutually exclusive, do not try to use them together.


<< Previous Page |




Tims Home Page       |       Page last modified : 13 November 2006