Overview

Announcements

Syllabus

Lectures

Projects

Exams

Laboratory

E-mails

 

Projects

  1. Overview of Project
  2. Sample report

Some Issues:

  1. Servlets must be installed in the directory:

<home>/tomcat/webapps/ROOT/WEB-INF/classes

For example, a servlet called MyTest.java, first needs to be compiled into MyTest.class, and then this file would be stored into a directory such as:

/export/home/icom5016/grupo11/tomcat/webapps/ROOT/WEB-INF/classes

  1. Suppose MyTest receives one parameter called title, and runs on port 8911, then you can call the servlet as follows:

http://adaselsvr1.ece.uprm.edu:8911/servlet/MyTest?title=Rocky

  1. To make your life easier, run the bash shell which is nicer to use.
  2. To make your life easier compiling the servlet, set the classpath variable as follows:

export CLASSPATH=$CLASSPATH:/export/home/icom5016/grupo11/tomcat/lib/servlet.jar

This will enable the java compiler to find the package with the servlets.

READ THE SERVLET BOOK!!!!!!!!!!!!

 

 

 

 

 

© 2001 University of Puerto Rico-Mayaguez. All rights reserved.


Last update was on August  28th, 2001
manuelr@acm.org