DCL 3.7.4
Loading...
Searching...
No Matches
ServletMain.h
Go to the documentation of this file.
1#ifndef __DCL_HS_SERVLET_MAIN_H__
2#define __DCL_HS_SERVLET_MAIN_H__ 20050926
3
4#ifndef __DCL_LIST_H__
5#include <dcl/List.h>
6#endif
7#ifndef __DCL_HASH_MAP_H__
8#include <dcl/HashMap.h>
9#endif
10#ifndef __DCL_SQL_H__
11#include <dcl/SQL.h>
12#endif
13#ifndef __DCL_HTTP_SERVLET_EX_H__
14#include <dcl/HttpServletEx.h>
15#endif
16
17__DCL_BEGIN_NAMESPACE
18
19class IniFile;
21{
22 String strSiteID;
24
27
30
31 String strSkinDir;
34
36 const SiteContext& operator = (const SiteContext& src);
37};
38
40{
42public:
44
45protected:
46 virtual void onInitialize();
48 virtual void onCleanup();
50 virtual void onService(HttpServletContextEx& ctx);
52
53protected:
54 PointerList __listSiteCtx;
55 StringToPointerMap __mapSiteCtx;
56};
57
58__DCL_END_NAMESPACE
59
60#endif // __DCL_HS_SERVLET_MAIN_H__
#define DECLARE_CLASSINFO(class_name)
Definition Object.h:227
__DCL_THROWS1(Exception *)
virtual void onCleanup()
StringToPointerMap __mapSiteCtx
Definition ServletMain.h:55
virtual void onInitialize()
PointerList __listSiteCtx
Definition ServletMain.h:54
virtual void onService(HttpServletContextEx &ctx)
String strSkinDir
Definition ServletMain.h:31
String strAttachmentDir
Definition ServletMain.h:32
size_t uPostMaxLength
Definition ServletMain.h:23
String strDbConnect
Definition ServletMain.h:26
String strThumbnailDir
Definition ServletMain.h:33
String strDbDriver
Definition ServletMain.h:25
const SiteContext & operator=(const SiteContext &src)
String strSiteID
Definition ServletMain.h:22
int nPermDeniedPageID
Definition ServletMain.h:29