Changeset 25387
- Timestamp:
- 2012-04-16T19:22:23+12:00 (12 years ago)
- Location:
- main/trunk/greenstone3/src/java/org/greenstone
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
main/trunk/greenstone3/src/java/org/greenstone/server/Server3.java
r22085 r25387 40 40 41 41 public String getBrowserURL() { 42 return GlobalProperties.get GSDL3WebAddress()+ config_properties.getProperty(BaseServer.Property.DEFAULT_SERVLET);42 return GlobalProperties.getFullGSDL3WebAddress()+ config_properties.getProperty(BaseServer.Property.DEFAULT_SERVLET); 43 43 } 44 44 -
main/trunk/greenstone3/src/java/org/greenstone/util/GlobalProperties.java
r25271 r25387 36 36 private static String gsdl3_home = null; 37 37 private static String gsdl3_web_address = null; 38 private static String full_gsdl3_web_address = null; 38 39 39 40 // Note, that if the servlet is reloadable, then it is reloaded each time the file is changed. … … 73 74 { 74 75 return gsdl3_web_address; 76 } 77 78 public static String getFullGSDL3WebAddress() 79 { 80 return full_gsdl3_web_address; 75 81 } 76 82 … … 156 162 157 163 //string it all together 158 //gsdl3_web_address = protocolSpecifier + hostSpecifier + portSpecifier + contextSpecifier;164 full_gsdl3_web_address = protocolSpecifier + hostSpecifier + portSpecifier + contextSpecifier; 159 165 gsdl3_web_address = contextSpecifier; 160 166 }
Note:
See TracChangeset
for help on using the changeset viewer.