org.opensha.sha.cybershake.maps.servlet
Class CS_InterpDiffMapServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opensha.sha.cybershake.maps.servlet.CS_InterpDiffMapServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CS_InterpDiffMapServlet
extends javax.servlet.http.HttpServlet

Title: GMT_MapGeneratorServlet

Description: this servlet runs the GMT script based on the parameters and generates the image file and returns that back to the calling application applet

* ****** NEW VERSION - more secure ******* This is the order of operations: Client ==> Server: * directory name (String), or null for auto dirname * InterpDiff GMT Map specification (InterpDiffMap) * Metadata (String) * Metadata filename (String) Server ==> Client: * Directory URL path **OR** error message

Copyright: Copyright (c) 2002

Company:

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

Field Summary
static java.lang.String SERVLET_URL
           
 
Constructor Summary
CS_InterpDiffMapServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
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
 

Field Detail

SERVLET_URL

public static final java.lang.String SERVLET_URL
Constructor Detail

CS_InterpDiffMapServlet

public CS_InterpDiffMapServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
Overrides:
doGet in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
Overrides:
doPost in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException