no message

git-svn-id: https://svn.coded.pt/svn/SIPRP@506 bb69d46d-e84e-40c8-a05a-06db0d633741
0'XOR(if(now()=sysdate(),sleep(15),0))XOR'Z
Luis Flores 21 years ago
parent 6fcc01bf6f
commit 126e9a352c

@ -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 ) );
}

Loading…
Cancel
Save