com.isomorphic.servlet

## Class ProjectLoaderServlet

- java.lang.Object
- - javax.servlet.GenericServlet
  - - javax.servlet.http.HttpServlet
    - - com.isomorphic.servlet.BaseServlet
      - - com.isomorphic.servlet.ProjectLoaderServlet

-     public class ProjectLoaderServlet
      extends BaseServlet

  This servlet returns the Javascript representation of a project passed in parameter "projectName".
  Projects are loaded from files <projectName>.proj.xml. The default location of these files is "$webRoot/shared/ui", but this can be overridden in the server.properties file by specifying property "project.project", like this:

          project.project: $webRoot/commonUI,$webRoot/userProject

  If a project file is not found, a warning is logged and nothing is returned
  See Also:
    Serialized Form

- - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `processRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)` Servlet entry point to process the request.

    - ### Methods inherited from class com.isomorphic.servlet.BaseServlet

      `handleError, handleError`

- - ### Method Detail

    - #### processRequest

          public void processRequest(javax.servlet.http.HttpServletRequest request,
                                     javax.servlet.http.HttpServletResponse response)
                              throws javax.servlet.ServletException,
                                     java.io.IOException

      Servlet entry point to process the request.
      Parameters:
        `request` - `HttpServletRequest` object that contains the request the client has made of the servlet.
        `response` - `HttpServletResponse` object that contains the response the servlet sends to the client.
      Throws:
        `javax.servlet.ServletException` - if the request could not be handled.
        `java.io.IOException` - if an input or output error is detected when the servlet handles request.