package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;

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

  private static final JspFactory _jspxFactory = JspFactory.getDefaultFactory();

  private static java.util.List _jspx_dependants;

  private javax.el.ExpressionFactory _el_expressionfactory;
  private org.apache.AnnotationProcessor _jsp_annotationprocessor;

  public Object getDependants() {
    return _jspx_dependants;
  }

  public void _jspInit() {
    _el_expressionfactory = _jspxFactory.getJspApplicationContext(getServletConfig().getServletContext()).getExpressionFactory();
    _jsp_annotationprocessor = (org.apache.AnnotationProcessor) getServletConfig().getServletContext().getAttribute(org.apache.AnnotationProcessor.class.getName());
  }

  public void _jspDestroy() {
  }

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

    PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;
    PageContext _jspx_page_context = null;


    try {
      response.setContentType("text/html;charset=UTF-8");
      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("\n");
      out.write("\n");
      out.write("\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\"\n");
      out.write("   \"http://www.w3.org/TR/html4/loose.dtd\">\n");
      org.apache.jasper.runtime.JspRuntimeLibrary.include(request, response, "menu.jsp", out, false);
      out.write("\n");
      out.write("<html>\n");
      out.write("    <head>\n");
      out.write("        <meta http-equiv=\"Content-Type\" content=\"text/html; charset=UTF-8\">\n");
      out.write("        <title>JSP Page</title>\n");
      out.write("        \n");
      out.write("<style>\n");
      out.write("div\n");
      out.write("{\n");
      out.write("color:red;\n");
      out.write("width:180;\n");
      out.write("font-family:Comic Sans MS;\n");
      out.write("text-align:center;\n");
      out.write("}\n");
      out.write("a\n");
      out.write("{\n");
      out.write("text-decoration:none;\n");
      out.write("font-family:Comic Sans MS;\n");
      out.write("color:black;\n");
      out.write("cursor:hand;\n");
      out.write("}\n");
      out.write("\n");
      out.write("</style>  \n");
      out.write("        <script>\n");
      out.write("        function fun()\n");
      out.write("        {  var a,b,sec;\n");
      out.write("           if(document.f1.QosType[0].checked)\n");
      out.write("            a=document.f1.QosType[0].value;\n");
      out.write("           if(document.f1.QosType[1].checked)\n");
      out.write("            a=document.f1.QosType[1].value;\n");
      out.write("           if(document.f1.QosType[2].checked)\n");
      out.write("            a=document.f1.QosType[2].value;\n");
      out.write("           if(document.f1.QosType[3].checked)\n");
      out.write("            a=document.f1.QosType[3].value;\n");
      out.write("           if(document.f1.QosType[4].checked)\n");
      out.write("           a=document.f1.QosType[4].value;\n");
      out.write("            \n");
      out.write("            \n");
      out.write("           if(document.f1.op[0].checked)\n");
      out.write("             b=document.f1.op[0].value;\n");
      out.write("           if(document.f1.op[1].checked)\n");
      out.write("             b=document.f1.op[1].value;\n");
      out.write("           if(document.f1.op[2].checked)\n");
      out.write("             b=document.f1.op[2].value;\n");
      out.write("           if(document.f1.op[3].checked)\n");
      out.write("             b=document.f1.op[3].value;\n");
      out.write("          \n");
      out.write("\n");
      out.write("           //sec=f1.sec.value;\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("\n");
      out.write("           if(a==null || b==null||a==\"\"||b==\"\")  \n");
      out.write("           {\n");
      out.write("             window.alert(\"PLEASE SELECT THE RADIO BUTTONS\");\n");
      out.write("            }\n");
      out.write("            else \n");
      out.write("                {\n");
      out.write("                      document.forms[\"f1\"].submit();\n");
      out.write("                }\n");
      out.write("        }\n");
      out.write("        </script>\n");
      out.write(" </head>\n");
      out.write(" \n");
      out.write("<body>\n");
      out.write("    \n");
      out.write("        \n");
      out.write("     \n");
      out.write("    <div><center>Question Bank</center></div><br><br>\n");
      out.write("   <form name=\"f1\" action=\"view.jsp\" method=\"post\">\n");
      out.write("       <center><p style=\"text-align:center; font-family:Comic Sans MS; font-size:20px; color:yellow;\">Section&nbsp;&nbsp;&nbsp;&nbsp;<select name=\"sec\">\n");
      out.write("<option value=\"all\">ALL</option>\n");
      out.write("<option value=\"English\">English</option>\n");
      out.write("<option value=\"Aptitude\">Aptitude</option>\n");
      out.write("<option value=\"G.K.\">G.K.</option>\n");
      out.write("<option value=\"Railway\">Railways</option>\n");
      out.write("</select></p></center>\n");
      out.write("   \n");
      out.write("  <center><table>\n");
      out.write("<tr>\n");
      out.write("    <td><input type=\"radio\" id=\"r1\" name=\"QosType\" value=\"1\"  /></td>\n");
      out.write("    <td style=\"text-align:left; font-family:Comic Sans MS; font-size:20px; color:red;\"><b>Multiple choice type Qos.</b></td>\n");
      out.write("    <td><input type=\"radio\" id=\"r1\" name=\"QosType\" value=\"2\"  /></td>\n");
      out.write("    <td style=\"text-align:left; font-family:Comic Sans MS; font-size:20px; color:red;\"><b>Fill in the blanks</b></td>\n");
      out.write("\n");
      out.write("</tr>\n");
      out.write("<br>\n");
      out.write("<tr>\n");
      out.write("    <td><input type=\"radio\" id=\"r1\"  name=\"QosType\" value=\"4\"  /></td>\n");
      out.write("<td style=\"text-align:center; font-family:Comic Sans MS; font-size:20px; color:red;\"><b>Short Answer type Qos.</b></td>\n");
      out.write("<td><input type=\"radio\" id=\"r1\" name=\"QosType\" value=\"3\" /></td>\n");
      out.write("<td style=\"text-align:center; font-family:Comic Sans MS; font-size:20px; color:red;\"><b>Long Answer type Qos.</b></td>\n");
      out.write("</tr>\n");
      out.write("<tr>\n");
      out.write("    <td><input type=\"radio\" id=\"r1\"  name=\"QosType\" value=\"5\"  /></td>\n");
      out.write("      <td style=\"text-align:left; font-family:Comic Sans MS; font-size:20px; color:red;\"><b>Expansions</b></td>\n");
      out.write("</tr>\n");
      out.write("</table></center>\n");
      out.write("<br>\n");
      out.write(" <br>\n");
      out.write("<center><table cellspacing=\"25\" >\n");
      out.write("<tr>\n");
      out.write("<td><input type=\"radio\" id=\"r2\" name=\"op\" value=\"1\"  />\n");
      out.write("<td style=\"text-align:center; width:600; font-family:Comic Sans MS; font-size:20px; color:white;\"><b>View Qos</b></td>\n");
      out.write("<td><input type=\"radio\" id=\"r2\" name=\"op\" value=\"2\"  />\n");
      out.write("<td style=\"text-align:center; width:600;font-family:Comic Sans MS; font-size:20px; color:white;\"><b>Add Qos</b>\n");
      out.write("</td>\n");
      out.write("<td><input type=\"radio\" id=\"r2\" name=\"op\" value=\"3\"  />\n");
      out.write("<td style=\"text-align:center;width:400; font-family:Comic Sans MS; font-size:20px; color:white;\"><b>Delete Qos</b>\n");
      out.write("</td>\n");
      out.write("<td><input type=\"radio\" id=\"r2\" name=\"op\" value=\"4\"  />\n");
      out.write("<td style=\"text-align:center;width:400; font-family:Comic Sans MS; font-size:20px; color:white;\"><b>Edit Qos</b>\n");
      out.write("</td>\n");
      out.write("</tr>\n");
      out.write("\n");
      out.write("</table></center>\n");
      out.write("<center><table>\n");
      out.write("<tr>\n");
      out.write("    \n");
      out.write("    <td align=\"center\"><input type=\"button\" value=\"Confirm\" name=\"Confirm\" onclick=\"fun()\" /></td>\n");
      out.write("\n");
      out.write("     <td align=\"center\"><input type=\"reset\" name=\"Cancel\" /></td>\n");
      out.write("<td></td>\n");
      out.write("</tr>\n");
      out.write("\n");
      out.write("</table></center>\n");
      out.write("\n");
      out.write("</form>\n");
      out.write("   \n");
      out.write("  </body>\n");
      out.write("</html>\n");
      out.write("\n");
    } catch (Throwable t) {
      if (!(t instanceof SkipPageException)){
        out = _jspx_out;
        if (out != null && out.getBufferSize() != 0)
          try { out.clearBuffer(); } catch (java.io.IOException e) {}
        if (_jspx_page_context != null) _jspx_page_context.handlePageException(t);
      }
    } finally {
      _jspxFactory.releasePageContext(_jspx_page_context);
    }
  }
}
