org.opensha.sha.gui.servlets
Class WillsSiteClassServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opensha.sha.gui.servlets.WillsSiteClassServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class WillsSiteClassServlet
extends javax.servlet.http.HttpServlet

Title: WillsSiteClassServlet

Description: This Servlet finds the VS30 and Basin Depth for the given region. this needs to be fixed with the implementation of the Appliacble Region Object.

Version:
1.0
Author:
: Nitin Gupta and Vipin Gupta
See Also:
Serialized Form

Constructor Summary
WillsSiteClassServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          method to get the wills site type as desired by the user
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          This method just calls the doPost method
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, 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

WillsSiteClassServlet

public WillsSiteClassServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws java.io.IOException,
                  javax.servlet.ServletException
method to get the wills site type as desired by the user

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
request -
response -
Throws:
java.io.IOException
javax.servlet.ServletException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws java.io.IOException,
                   javax.servlet.ServletException
This method just calls the doPost method

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
request - : Request Object
response - : Response Object
Throws:
java.io.IOException - : Throws IOException during read-write from connection stream
javax.servlet.ServletException