< include file="Common.jsp%>< Filename AdvSearch.jsp"/>

AdvSearch - < include file="TemplateObj.jsp%>< include...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
<%@ include file="TemplateObj.jsp" %><%@ include file="Common.jsp" %><%! // Filename: AdvSearch.jsp // Generated with CodeCharge 1.2.0 // JSPTemplates build 05/21/2001 String sFileName = "AdvSearch.jsp"; %><% java.sql.Connection conn = null; java.sql.Statement stat = null; String sErr = loadDriver(); if ( ! sErr.equals("") ) { try { out.println(sErr); } catch (Exception e) {} } conn = cn(); stat = conn.createStatement(); String sAction =null; String sForm =null; String sTemplateFileName = "AdvSearch.html"; TextTemplate oTpl = new TextTemplate(); String appPath = pageContext.getServletContext().getRealPath(request.getRequestURI()).replace('\\ ','/'); String cPath = request.getContextPath(); if ( cPath.length() > 1 ) { int f1 = appPath.lastIndexOf(cPath); appPath = appPath.substring(0,f1)+appPath.substring(f1+cPath.length()); } appPath = appPath.substring(0,appPath.lastIndexOf('/')+1); oTpl.loadTemplate(appPath+ sTemplateFileName , "main"); final String sHeaderFileName = appPath + "Header.html";
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 02/08/2012 for the course ITT 650 taught by Professor Dewey during the Spring '11 term at UNC Asheville.

Page1 / 2

AdvSearch - < include file="TemplateObj.jsp%>< include...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online