All Packages  Class Hierarchy

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Index of all Fields and Methods

C

Configuration(ServletConfig). Constructor for class oncore.Configuration
Extracts values of all desired fields from the servletconfig.
ConfigurationException(). Constructor for class oncore.ConfigurationException

D

doGet(HttpServletRequest, HttpServletResponse). Method in class oncore.Main
Method which will get called when a user tries to access the servlet for the first time.
doGet(HttpServletRequest, HttpServletResponse). Method in class oncore.StudInfo
Method to handle HTTP requests which are of the form GET http://...
doPost(HttpServletRequest, HttpServletResponse). Method in class oncore.Main
Method which gets called every time use submits some query.

F

FacadSession(HttpServletRequest, Connection). Constructor for class oncore.FacadSession

G

getDblogin(). Static method in class oncore.Configuration
Method to return data base login name.
getDbpasswd(). Static method in class oncore.Configuration
Method to return data base password.
getHelpUrl(). Static method in class oncore.Configuration
Method to return URL of help page.
getHostname(). Static method in class oncore.Configuration
Method to return host name of Mail server.
getJdbcHost(). Static method in class oncore.Configuration
Method to return jdbc host.
getMonth_sem(). Static method in class oncore.Configuration
Method to return month to sem mapping.
getOuraddress(). Static method in class oncore.Configuration
Method to return our own e-mail address.
getPhase(). Static method in class oncore.Configuration
Method to return phase.
getPort(). Static method in class oncore.Configuration
Method to return port number.
getServletInfo(). Method in class oncore.Main
getStudUrl(). Static method in class oncore.Configuration
Method to return URL of servlet which gives student info.
getUrl(). Static method in class oncore.Configuration
method to return URL of our servlet.

I

init(ServletConfig). Method in class oncore.Main
Method which does initialisation stuff in the Servlet.
init(ServletConfig). Method in class oncore.StudInfo
Method which does initialization stuff in the servlet.
InstrSession(HttpServletRequest, Connection). Constructor for class oncore.InstrSession
Constructor for the class InstrSession.
isValid(String, String, boolean). Method in class oncore.Validator
Method to check if the password for a user is correct.

M

Mailer(String, String). Constructor for class oncore.Mailer
Stores e-mail address and message body.
Main(). Constructor for class oncore.Main

P

printFirst(PrintWriter). Method in class oncore.FacadSession
Prints the page the Facad sees on logging in, as well as the all the pages seen subsequently by the Fac-ad.
printFirst(PrintWriter). Method in class oncore.InstrSession
Method to print the first page for instructor.
printFirst(PrintWriter). Method in class oncore.Session
Method which will be called to print the html page for that particular session.
printFirst(PrintWriter). Method in class oncore.StudentSession
This is the function that is called from outside when the session starts.
processQuery(HttpServletRequest, PrintWriter). Method in class oncore.FacadSession
This method is called whenever the fac-ad submits a form.
processQuery(HttpServletRequest, PrintWriter). Method in class oncore.InstrSession
Method to process a query from an html form.
processQuery(HttpServletRequest, PrintWriter). Method in class oncore.Session
Method which processes query submitted by the user.
processQuery(HttpServletRequest, PrintWriter). Method in class oncore.StudentSession
This method is called from outside to process a request.

R

run(). Method in class oncore.Mailer
Calls the method mail to send the requested mail to user.

S

Session(HttpServletRequest, Connection). Constructor for class oncore.Session
Constructor initializes variables and also authenticates the user of the session.
StudentSession(HttpServletRequest, Connection). Constructor for class oncore.StudentSession
Makes a new StudentSession fot the request req.
StudInfo(). Constructor for class oncore.StudInfo

V

ValidationException(). Constructor for class oncore.ValidationException
Validator(Connection). Constructor for class oncore.Validator
this stores only database connection with the class.