Affiliated to CBSE Board, New Delhi

Banthra, Kanpur Road, Lucknow

News & Events

Notice Board

<% try { Connection cn=ProjectManager.getConnection(); if(!cn.isClosed()) { PreparedStatement ps=cn.prepareStatement("SELECT title,date_format(circulardate,'%d-%m-%Y'),filename FROM circular order by circulardate desc limit 10"); ResultSet rs=ps.executeQuery(); while(rs.next()) { String path=application.getRealPath("../techno_edu/circular"); path+="/"+rs.getString(3); String circular=""; File file=new File(path); FileReader read=new FileReader(path); for(int i=read.read();i!=-1;i=read.read()) { circular+=(char)i; } read.close(); %> <% } } cn.close(); } catch(Exception e) { out.print(e.toString()); } %>

Date : <%=rs.getString(2)%>

Subject : <%=rs.getString(1)%>

<%=circular%>