|
|
|
@ -16,15 +16,15 @@ public final class ImagesServlet extends HttpServlet
|
|
|
|
|
|
|
|
|
|
|
|
private static final String PARAMETER_ID = "id";
|
|
|
|
private static final String PARAMETER_ID = "id";
|
|
|
|
|
|
|
|
|
|
|
|
private static Boolean logger = false;
|
|
|
|
// private static Boolean logger = false;
|
|
|
|
static
|
|
|
|
// static
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
if ( ! logger )
|
|
|
|
// if ( ! logger )
|
|
|
|
{
|
|
|
|
// {
|
|
|
|
WebImagesLogger.init();
|
|
|
|
// WebImagesLogger.init();
|
|
|
|
logger = true;
|
|
|
|
// logger = true;
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
}
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
public void doGet( HttpServletRequest request, HttpServletResponse response ) //throws IOException, ServletException
|
|
|
|
public void doGet( HttpServletRequest request, HttpServletResponse response ) //throws IOException, ServletException
|
|
|
|
{
|
|
|
|
{
|
|
|
|
@ -61,7 +61,8 @@ public final class ImagesServlet extends HttpServlet
|
|
|
|
}
|
|
|
|
}
|
|
|
|
catch ( Exception e )
|
|
|
|
catch ( Exception e )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
ErrorLogger.logException( e );
|
|
|
|
e.printStackTrace();
|
|
|
|
|
|
|
|
// ErrorLogger.logException( e );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|