com.raritantechnologies.quickstart.userInterface
Class SetPersistentParameterServlet

java.lang.Object
  extended byHttpServlet
      extended bycom.raritantechnologies.quickstart.userInterface.SetPersistentParameterServlet

public class SetPersistentParameterServlet
extends HttpServlet

Enables cached session data values to be set on the server using javascript. Uses the HttpServletResponse setStatus( HttpServletResponse.SC_NO_CONTENT ); method to enable messages to be sent to the server without causes a page location change on the browser.

If the request parameter contains a 'redirect' parameter, the service method will issue a redirect command. Else, the HttpServletRequest.SC_NO_CONTENT status will be returned to the browser.


Developed by Raritan Technologies Inc..

Author:
Kepler Gelotte
See Also:
Serialized Form

Constructor Summary
SetPersistentParameterServlet()
           
 
Method Summary
 void service(HttpServletRequest pReq, HttpServletResponse pRes)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SetPersistentParameterServlet

public SetPersistentParameterServlet()
Method Detail

service

public void service(HttpServletRequest pReq,
                    HttpServletResponse pRes)
             throws ServletException,
                    java.io.IOException
Throws:
ServletException
java.io.IOException