com.ora.jsp.servlets
Class UpdateProfileAction

java.lang.Object
  |
  +--com.ora.jsp.servlets.UpdateProfileAction
All Implemented Interfaces:
Action

public class UpdateProfileAction
extends java.lang.Object
implements Action

This class updates a user profile in the Project Billboard application.

Version:
1.0
Author:
Hans Bergsten, Gefion software

Field Summary
private  ActionUtils utils
           
 
Constructor Summary
UpdateProfileAction()
           
 
Method Summary
 void perform(javax.servlet.http.HttpServlet servlet, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Updates the projects property of an authenticated user, represented by the "validUser" session attribute, using the EmployeeRegistryBean.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, registerNatives, toString, wait, wait, wait
 

Field Detail

utils

private ActionUtils utils
Constructor Detail

UpdateProfileAction

public UpdateProfileAction()
Method Detail

perform

public void perform(javax.servlet.http.HttpServlet servlet,
                    javax.servlet.http.HttpServletRequest request,
                    javax.servlet.http.HttpServletResponse response)
             throws java.io.IOException,
                    javax.servlet.ServletException
Updates the projects property of an authenticated user, represented by the "validUser" session attribute, using the EmployeeRegistryBean. This action is only performed for POST requests. Before returning, the client is redirected to the main page, where the new set of projects are displayed.
Specified by:
perform in interface Action