01: package com.salmonllc.examples;
02:
03: //The Salmon Open Framework for Internet Applications (SOFIA)
04: //Copyright (C) 1999 - 2002, Salmon LLC
05: //
06: //This program is free software; you can redistribute it and/or
07: //modify it under the terms of the GNU General Public License version 2
08: //as published by the Free Software Foundation;
09: //
10: //This program is distributed in the hope that it will be useful,
11: //but WITHOUT ANY WARRANTY; without even the implied warranty of
12: //MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13: //GNU General Public License for more details.
14: //
15: //You should have received a copy of the GNU General Public License
16: //along with this program; if not, write to the Free Software
17: //Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
18: //
19: //For more information please visit http://www.salmonllc.com
20:
21: import com.salmonllc.jsp.*;
22:
23: /**
24: * This class is the controller for the DBConnectError.jsp page. The only thing it does is set the name
25: * of the properties file, in case this application is run under an application name other than sofiaExamples
26: */
27: public class DBConnectErrorController extends JspController {
28:
29: public com.salmonllc.jsp.JspRaw _propertyFile;
30:
31: public void initialize() {
32: _propertyFile.setHtml(getApplicationName());
33: }
34:
35: }
|