diff --git a/trunk/WEB-INF/classes/siprp/pagina/NewsServlet.java b/trunk/WEB-INF/classes/siprp/pagina/NewsServlet.java index af144d85..da675d2d 100644 --- a/trunk/WEB-INF/classes/siprp/pagina/NewsServlet.java +++ b/trunk/WEB-INF/classes/siprp/pagina/NewsServlet.java @@ -86,7 +86,7 @@ public class NewsServlet extends HttpServlet private String getNews() { -System.err.println( "NEWS: BEGIN" ); +//System.err.println( "NEWS: BEGIN" ); try { if( executer == null ) @@ -97,26 +97,26 @@ System.err.println( "NEWS: BEGIN" ); Object o[][] = array.getObjects(); if( o != null && o.length > 0 ) { -System.err.println( "NEWS: " + o[ 0 ][ 0 ].toString() ); +//System.err.println( "NEWS: " + o[ 0 ][ 0 ].toString() ); return o[ 0 ][ 0 ].toString() + " - " + o[ 0 ][ 1 ].toString(); } } catch( Exception ex ) { -System.err.println( "NEWS: EX" ); +//System.err.println( "NEWS: EX" ); ex.printStackTrace(); close(); } -System.err.println( "NEWS: END" ); +//System.err.println( "NEWS: END" ); return null; } public void doGet( HttpServletRequest req, HttpServletResponse res ) throws IOException { -System.err.println( "NEWS: GET BEGIN" ); +//System.err.println( "NEWS: GET BEGIN" ); init(); -System.err.println( "NEWS: AF INIT" ); +//System.err.println( "NEWS: AF INIT" ); ServletOutputStream out = res.getOutputStream(); // String queryString = req.getQueryString(); res.setContentType( "text/html" ); @@ -130,7 +130,7 @@ System.err.println( "NEWS: AF INIT" ); { parameters.put( "noticias", news ); } -System.err.println( "NEWS: BF SHOW" ); +//System.err.println( "NEWS: BF SHOW" ); out.println( showPage( "noticias/mostrar_noticias.html", parameters ) ); }