no.inspera.services.pedal
Class PedalServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by no.inspera.services.pedal.PedalServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PedalServlet
extends javax.servlet.http.HttpServlet

Servlet for personalising courses. This servlet acts as a dispatcher to all pages in the personalised course.

It holds a list of possible actions that can be executed. The actions implement Action interface. If this servlet is unable to identify the requested action the default action is login page. An example of url for the servlet:

    http://<hostname>:<port>/pedalng?ac=view
 
Which executes the view action(see View for more information). The View action displays the requested module.

Since:
20.12.2007
Version:
$Id: PedalServlet.java 45069 2008-05-29 08:25:25Z naimdjon $
Author:
Naimdjon Takhirov
See Also:
Serialized Form

Constructor Summary
PedalServlet()
           
 
Method Summary
 void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          The entry gate to serve all requests.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PedalServlet

public PedalServlet()
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws javax.servlet.ServletException
The entry gate to serve all requests.

Overrides:
service in class javax.servlet.http.HttpServlet
Parameters:
request - the current request
response - reponse object where the results will be written.
Throws:
javax.servlet.ServletException - if any error occurs.


Copyright © 2008 Naimdjon Takhirov (naimdjon@gmail.com). All Rights Reserved.