java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
openfuture.bugbase.servlet.BugBaseJspServlet
- All Implemented Interfaces:
- openfuture.bugbase.model.JspConstants, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
- public class BugBaseJspServlet
- extends javax.servlet.http.HttpServlet
- implements openfuture.bugbase.model.JspConstants
Servlet setting all application context parameters for the JSPs.
Created: Sat Dec 02 23:08:21 2000
- Version:
- $Revision: 1.6 $
Fields inherited from class javax.servlet.http.HttpServlet |
|
Fields inherited from interface openfuture.bugbase.model.JspConstants |
ATTACHMENT_DIR, ATTACHMENT_URL, BUG_REPORT, BUGBASE_SERVLET, LOCALES, LOGIN_MANAGER, MAILSERVER, MD_PROVIDER, NEXT_PAGE, PACKAGES, PROJECT, QUERY, QUERYSTRING, REPORTS, RESULT, SENDMAIL, SERVLET_CLIENT, SERVLETPATH, USER, USER_ID |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BugBaseJspServlet
public BugBaseJspServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Initializes the servlet. The following initialization
parameters are recognized:
- openfuture.bugbase.servlet.BugBaseServlet: URL
to the used installation
of BugBaseServlet.
[Default: http://localhost:8080/bugbase/servlet/openfuture.bugbase.servlet.BugBaseServlet]
- openfuture.bugbase.locales: Comma
separated list of used locales.
[Default: de_DE, en_GB]
- openfuture.bugbase.attachment.dir:
Directory containing the attachments to bug reports.
[Default: attachments]
- openfuture.bugbase.attachment.URL:
URL of the directory holding the attachments to bug reports.
[Default: attachments]
- openfuture.bugbase.mail.server:
Mail server for delivering emails to bug report authors.
The following context parameters are set:
- openfuture.bugbase.servlet.BugBaseServlet:
The URL to the used installation
of BugBaseServlet.
- openfuture.bugbase.servletClient: an instance of
BugBaseServletClient. The
servlet client is instantiated with the value from the
initialization parameter
openfuture.bugbase.servlet.BugBaseServlet.
- openfuture.bugbase.loginManager: an instance of
openfuture.bugbase.domain.LoginManager. The
login manager's timeout value is set with the value from the
initialization parameter
openfuture.bugbase.loginManager.timout.
- openfuture.bugbase.locales: an instance of
openfuture.util.misc.SessionLocales. The locales are
instantiated with the value from the initialization parameter
openfuture.bugbase.locales.
- org.apache.struts.action.LOCALE:
the currentlocale. It is instantiated with the first element
from openfuture.bugbase.locales.
- openfuture.bugbase.md_provider: an instance of
openfuture.bugbase.domain.MasterDataProvider.
The master data provider is instantiated with the resource
bundles defined in the configuration of
ActionSevlet.
The resource bundles for the locales configured in the
initialization parameter
openfuture.bugbase.locales.
- openfuture.bugbase.attachment.dir: The
attachment directory is initially
created, if it does not already exist.
- openfuture.bugbase.attachment.URL: The
URL of the attachments' directory.
- openfuture.bugbase.mail.server: The
name of the used mail server.
- Specified by:
init
in interface javax.servlet.Servlet
createClient
private BugBaseServletClient createClient(java.lang.String url)
- Create an instance of
BugBaseServletClient.