<%! javax.servlet.jsp.JspWriter out = null; String funSplit(String x) { String tmp = funSplit(x,50,' '); return tmp; } String funSplit(String x, int len) { String tmp = funSplit(x,len,' '); return tmp; } String funSplit(String x, int len,char ch) { String tmp = x; String tmp1=""; int l = tmp.length(); int a,b,c; if(l<=len) return tmp; for(c=0;c=l) { tmp1 = tmp1+tmp.substring(c,l); break; } a = tmp.indexOf(ch,(c+len-5)); b = tmp.indexOf(ch,(c+len)); /*try{ this.out.println("
l="+l+", len="+len+", a="+a+", b="+b+", c="+c); }catch(Exception e){ } */ if(a<0 || b<0) { tmp1 = tmp1+tmp.substring(c,(c+len))+"-|"; c = c+len; continue; } if(b<(c+len+3)) { tmp1 = tmp1+tmp.substring(c,b+1)+"|"; c = b; continue; } if(a:"+tmp1+":"); }catch(Exception e){ } */ } return tmp1; } %> <%try{ String centerPageName="includes/homesub/general.htm",courseSel=null; courseSel = request.getParameter("cmbCourse"); if(courseSel==null) courseSel = "general"; else centerPageName = "includes/homesub/"+courseSel+".htm"; //out.print("
Course: "+courseSel); String path="",dirName="",pageName=""; char sepChar='\\'; HttpSession sn = request.getSession(); String logError=(String)sn.getAttribute("errorLogin"); //out.print("
Log error:"+logError); if(logError==null) logError="x"; String strTemp = request.getQueryString(); String strTemp1 = request.getRequestURI(); if(strTemp1.indexOf(sepChar)<0) sepChar='/'; pageName = new String(strTemp1); if(strTemp!=null) pageName = pageName + "?"+ strTemp; System.out.println("Page: "+pageName); Connection con=null; Statement st=null; ResultSet rs=null; int n1=0,n2=0; //sn.removeAttribute("errorLogin"); sn.invalidate(); sn = request.getSession(); String collegeInfo = (String)sn.getAttribute("collegeinfo"); con = getc.conn(); if(con==null) { throw new NullPointerException("Error: Some unexpected problem in database."); } st = con.createStatement(); rs = null; //} //out.println("
dir: "+dirName); sn.setAttribute("dirname",dirName); //sn.setAttribute("branchgraph","abcd"); //out.println("
logerror:"+logError); sn.removeAttribute("errorLogin"); //boolean isnewses = sn.isNew(); //if(isnewses) strTemp=", window.open('ksitadmission.htm','','scrollbars=yes, width=550,height=240');"; //else %>

Navigation


Telecommunication



vision

" To Make Integrated Professionals Through Well Developed Facilities And Best Available Training Program. "



Mission

" To Build Disciplined And Integrated Professionals Through Academic Excellence. "