| 1 7 8 package projectmanagement; 9 10 11 import com.lutris.appserver.server.*; 12 import com.lutris.appserver.server.httpPresentation.*; 13 import com.lutris.appserver.server.session.*; 14 import com.lutris.util.*; 15 16 21 public class ProjectManagement extends StandardApplication { 22 23 private String adminUsername, adminPassword, locale; 25 26 34 public void startup(Config appConfig) throws ApplicationException { 35 try { 37 adminUsername = appConfig.getString("ProjectManagement.AdminUsername"); 38 adminPassword = appConfig.getString("ProjectManagement.AdminPassword"); 39 40 } catch (ConfigException except) { 41 throw new ApplicationException(except); 42 } 43 super.startup(appConfig); 44 } 45 46 public boolean requestPreprocessor(HttpPresentationComms comms) 47 throws Exception { 48 49 return super.requestPreprocessor(comms); 50 } 51 52 public String getAdminUsername () { 53 return adminUsername; 54 } 55 56 public String getAdminPassword () { 57 return adminPassword; 58 } 59 60 68 public String toHtml() { 69 return "This is <I>projectManagement</I>"; 70 } 71 72 } 73 74 | Popular Tags |