|
|
|
@ -33,6 +33,7 @@ public class siprpServlet extends HttpServlet
|
|
|
|
|
|
|
|
|
|
|
|
public static final String indexTemplate = "index.html";
|
|
|
|
public static final String indexTemplate = "index.html";
|
|
|
|
public static final String authenticatedUserTemplate = "user.html";
|
|
|
|
public static final String authenticatedUserTemplate = "user.html";
|
|
|
|
|
|
|
|
public static final String authenticatedUserPrintTemplate = "user_print.html";
|
|
|
|
public static final String errorTemplate = "frame_erro.html";
|
|
|
|
public static final String errorTemplate = "frame_erro.html";
|
|
|
|
public static final String innerErrorTemplate = "erro.html";
|
|
|
|
public static final String innerErrorTemplate = "erro.html";
|
|
|
|
|
|
|
|
|
|
|
|
@ -176,7 +177,8 @@ System.out.println( "query: " + queryString );
|
|
|
|
catch( NumberFormatException nfex )
|
|
|
|
catch( NumberFormatException nfex )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
query = trabalhador;
|
|
|
|
query = trabalhador;
|
|
|
|
if( !query.equals( "trabalhadores_tudo" ) && !query.equals( "trabalhadores_pendentes" ) )
|
|
|
|
if( query.indexOf( "trabalhadores_tudo" ) != 0 && query.indexOf( "trabalhadores_pendentes" ) != 0 &&
|
|
|
|
|
|
|
|
query.indexOf( "_print" ) == -1 )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
throw nfex;
|
|
|
|
throw nfex;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|