litesoft
Diff Revisions
474
vs
801
for /trunk/Java/GWT/Server/src/org/litesoft/GWT/server/AbstractServerApp.java
|
@@ -9,6 +9,7 @@ |
9 |
9 |
|
import org.litesoft.configuration.*; |
10 |
10 |
|
import org.litesoft.core.*; |
11 |
11 |
|
import org.litesoft.core.simpletypes.temporal.*; |
|
12 |
+ |
import org.litesoft.core.typeutils.*; |
12 |
13 |
|
import org.litesoft.logger.*; |
13 |
14 |
|
import org.litesoft.logger.nonpublic.*; |
14 |
15 |
|
import org.litesoft.loggerconfig.*; |
|
@@ -173,7 +174,7 @@ |
173 |
174 |
|
ConfigDataAccessorFactory zFactory = new WebInfConfigAccessorLocator( mAppName ); |
174 |
175 |
|
zFactory = new ServerConfigDataAccessorFactoryProxy( zFactory ); |
175 |
176 |
|
new ServerConfiguration( zFactory );// force creation & self registration of Configuration |
176 |
|
- |
if ( (null != Utils.noEmpty( Configuration.getString( "databaseURL" ) )) && (System.getProperty( "HSQL" ) != null) ) |
|
177 |
+ |
if ( (null != Strings.noEmpty( Configuration.getString( "databaseURL" ) )) && (System.getProperty( "HSQL" ) != null) ) |
177 |
178 |
|
{ |
178 |
179 |
|
// JDBC HSQL stuff: |
179 |
180 |
|
Configuration.setKeyValue( ConfigDataAccessor.Level.RUN, "databaseDriverClassName", "org.hsqldb.jdbcDriver" ); |
|
@@ -249,7 +250,7 @@ |
249 |
250 |
|
protected void service( HttpServletRequest pRequest, HttpServletResponse pResponse ) |
250 |
251 |
|
throws ServletException, IOException |
251 |
252 |
|
{ |
252 |
|
- |
String query = Utils.noEmpty( pRequest.getQueryString() ); |
|
253 |
+ |
String query = Strings.noEmpty( pRequest.getQueryString() ); |
253 |
254 |
|
if ( query == null ) |
254 |
255 |
|
{ |
255 |
256 |
|
super.service( pRequest, pResponse ); |