I don't see anything wrong with it. Do you?


package tek;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import javax.servlet.jsp.tagext.*;
import java.io.PrintWriter;
import java.io.IOException;
import java.io.FileInputStream;
import java.io.ObjectInputStream;
import java.util.Vector;
import org.apache.jasper.runtime.*;
import java.beans.*;
import org.apache.jasper.JasperException;
import java.util.*;


public class 
_0002ftek_0002fadvanced_0005fsection_0005fresult_0002ejspadvanced_0005fsection_0005fresult_jsp_42
 extends HttpJspBase {


    static {
    }
    public 
_0002ftek_0002fadvanced_0005fsection_0005fresult_0002ejspadvanced_0005fsection_0005fresult_jsp_42(
 ) {
    }

    private static boolean _jspx_inited = false;

    public final void _jspx_init() throws JasperException {
    }

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

        JspFactory _jspxFactory = null;
        PageContext pageContext = null;
        HttpSession session = null;
        ServletContext application = null;
        ServletConfig config = null;
        JspWriter out = null;
        Object page = this;
        String  _value = null;
        try {

            if (_jspx_inited == false) {
                _jspx_init();
                _jspx_inited = true;
            }
            _jspxFactory = JspFactory.getDefaultFactory();
            response.setContentType("text/html;charset=8859_1");
            pageContext = _jspxFactory.getPageContext(this, request, response,
                        "", true, 8192, true);

            application = pageContext.getServletContext();
            config = pageContext.getServletConfig();
            session = pageContext.getSession();
            out = pageContext.getOut();

            // HTML // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(0,32);to=(8,0)]
                out.write("\r\n\r\n<html>\r\n\t<head>\r\n\t\t<title>LSP200 - Section 
Selection - Result</title>\r\n\t</head>\r\n\t<link rel=\"STYLESHEET\" 
type=\"text/css\" href=\"includes/stylesheet.css\"/>\r\n\t<body 
style=\"font-family:Tahoma;font-size:8pt;\">\r\n");
            // end
            // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(8,2);to=(18,4)]
                 
                String opn              = request.getParameter("opn");
                Enumeration paramNames = request.getParameterNames();
                while(paramNames.hasMoreElements()) {
                        String paramName = (String)paramNames.nextElement();
                        String[] paramValues = request.getParameterValues(paramName);
                    if (paramValues.length == 1) {
                                String paramValue = paramValues[0];
                                int length      = paramValue.length();
                                String fil = "advanced_result_" + paramName + 
".xsql?opn=" + opn + "&" + paramName + "=" + paramValue.substring(1,length) + "&" + 
paramName + "R=" + paramValue.substring(0,1);
                                         
            // end
            // HTML // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(18,6);to=(19,5)]
                out.write("\r\n\t\t\t \t");
            // end
            // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(19,5);to=(19,50)]
                {
                    String _jspx_qStr = "";
                    pageContext.include( fil  + _jspx_qStr);
                }
            // end
            // HTML // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(19,50);to=(20,0)]
                out.write("\r\n");
            // end
            // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(20,2);to=(23,3)]
                
                                
                                if (paramValue.length() == 0) { 
                                        
            // end
            // HTML // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(23,5);to=(23,10)]
                out.write("error");
            // end
            // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(23,12);to=(29,4)]
                 
                                }
                        } else { 
                                for(int i=0; i<paramValues.length; i++) { 
                                        int length      = paramValues[i].length();
                                        String fil = "advanced_result_" + paramName + 
".xsql?opn=" + opn + "&" + paramName + "=" + paramValues[i].substring(1,length) + "&" 
+ paramName + "R=" + paramValues[i].substring(0,1);
                                         
            // end
            // HTML // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(29,6);to=(30,5)]
                out.write("\r\n\t\t\t \t");
            // end
            // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(30,5);to=(30,50)]
                {
                    String _jspx_qStr = "";
                    pageContext.include( fil  + _jspx_qStr);
                }
            // end
            // HTML // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(30,50);to=(31,0)]
                out.write("\r\n");
            // end
            // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(31,2);to=(34,2)]
                
                                }
                        }
                } 
            // end
            // HTML // begin 
[file="C:\\xsql\\tek\\advanced_section_result.jsp";from=(34,4);to=(37,0)]
                out.write("\r\n\t</body>\r\n</html>\r\n");
            // end

        } catch (Exception ex) {
            if (out.getBufferSize() != 0)
                out.clearBuffer();
            pageContext.handlePageException(ex);
        } finally {
            out.flush();
            _jspxFactory.releasePageContext(pageContext);
        }
    }
}

Reply via email to