protected void getFormulario(String ruta, PrintWriter out) {
        ServletContext context = getServletContext();
        InputStream is = context.getResourceAsStream(ruta);
        if (is != null) {
            InputStreamReader isr = new InputStreamReader(is);
            BufferedReader reader = new BufferedReader(isr);
            String text = "";
            try {
                while ((text = reader.readLine()) != null) {
                    out.println(text);
                }
            } catch (IOException ex) {
                Logger.getLogger(Formularios.class.getName()).log(Level.SEVERE, null, ex);
            }
        }
    }