/*
 * Generated by the Jasper component of Apache Tomcat
 * Version: Apache Tomcat/7.0.56
 * Generated at: 2018-02-26 09:44:19 UTC
 * Note: The last modified time of this file was set to
 *       the last modified time of the source file after
 *       generation to assist with modification tracking.
 */
package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import paketWohnmobil.Wohnmobil_FK;
import paketWohnmobil.Wohnmobil_DAO1;

public final class WM_005fAbfrageergebnis0b_jsp extends org.apache.jasper.runtime.HttpJspBase
    implements org.apache.jasper.runtime.JspSourceDependent {

  private static final javax.servlet.jsp.JspFactory _jspxFactory =
          javax.servlet.jsp.JspFactory.getDefaultFactory();

  private static java.util.Map<java.lang.String,java.lang.Long> _jspx_dependants;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.tomcat.InstanceManager _jsp_instancemanager;

  public java.util.Map<java.lang.String,java.lang.Long> getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_instancemanager = org.apache.jasper.runtime.InstanceManagerFactory.getInstanceManager(getServletConfig());
  }

  public void _jspDestroy() {
  }

  public void _jspService(final javax.servlet.http.HttpServletRequest request, final javax.servlet.http.HttpServletResponse response)
        throws java.io.IOException, javax.servlet.ServletException {

    final javax.servlet.jsp.PageContext pageContext;
    javax.servlet.http.HttpSession session = null;
    final javax.servlet.ServletContext application;
    final javax.servlet.ServletConfig config;
    javax.servlet.jsp.JspWriter out = null;
    final java.lang.Object page = this;
    javax.servlet.jsp.JspWriter _jspx_out = null;
    javax.servlet.jsp.PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			null, true, 8192, true);
      _jspx_page_context = pageContext;
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");
      out.write("\r\n");
      out.write("<html>\r\n");
      out.write("<head>\r\n");
      out.write("<title>WM-Abfrageergebnis0b</title>\r\n");
      out.write("<link rel=\"stylesheet\" type=\"text/css\" href= \"formateWM.css\">\r\n");
      out.write("</head>\r\n");
      out.write("<body>\r\n");
      out.write("\r\n");
      out.write("<div class=\"mittig\">\r\n");
      out.write("<h1>OA - Wohnmobil - Vermietung</h1>\r\n");
      out.write("</div>\r\n");
      out.write("<br>\r\n");
      out.write("<br>\r\n");



// Objekt aktuelles Wohnmobilobjekt
Wohnmobil_FK aktWM= new Wohnmobil_FK();
//Objekt aus der Datenbankzugriffsklasse
Wohnmobil_DAO1 aktDBzugriff = new Wohnmobil_DAO1(aktWM);

      out.write("\r\n");
      out.write("<h3>Abfrage aus der Datenbank</h3>\r\n");
      out.write("<br>\r\n");
      out.write("<table>\r\n");
      out.write("         <tr>\r\n");
      out.write("               <td class= \"form1\">Wohnmobiltyp</td>\r\n");
      out.write("               <td class= \"form1\">Personen geeignet </td>\r\n");
      out.write("               <td class= \"form1\"> Tagespreis</td>\r\n");
      out.write("               <td class= \"form1\">Freikm / Tag</td>\r\n");
      out.write("               <td class= \"form1\">km-Preis </td>\r\n");
      out.write("               <td class= \"form1\">Fahrzeuganzahl </td>\r\n");
      out.write("\r\n");
      out.write("         </tr> \r\n");

 aktDBzugriff.sucheAlleDatensatz();
   while(aktDBzugriff.naechsterDatensatz() == true)
   {
      out.println("<tr>");
      out.println("<td>");out.println( aktWM.getKlasse()); out.println ("</td>");
      out.println("<td>");out.println(aktWM.getPersonennutzung()); out.println ("</td>");
      out.println("<td>");out.println(aktWM.getTagespreis()); out.println ("</td>");
      out.println("<td>");out.println(aktWM.getFreikm());  out.println ("</td>");
      out.println("<td>");out.println(aktWM.getKmpreis());   out.println ("</td>");
      out.println("<td>");out.println(aktWM.getFahrzeuganzahl());  out.println ("</td>");
      out.println("</tr>");
   }

 
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("</table>\r\n");
      out.write("\r\n");
      out.write("<br>\r\n");
      out.write("<a href=\"index.html\" >zum Eingabeformular</a>\r\n");
      out.write("</body>\r\n");
      out.write("</html>");
    } catch (java.lang.Throwable t) {
      if (!(t instanceof javax.servlet.jsp.SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try {
            if (response.isCommitted()) {
              out.flush();
            } else {
              out.clearBuffer();
            }
          } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
        else throw new ServletException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
