<%@ page language="java" import="java.util.Properties,com.p2w.util.Init,com.p2w.util.IduDB_Change,com.p2w.util.VectoringChange,com.p2w.web.listener.SessionCounter,java.util.Enumeration,java.io.*,java.sql.SQLException,com.p2w.connection.DBConnectionManager"%> <%@ page import="java.util.*,com.p2w.util.VectoringChange,java.text.*" %> <%@ page import = "java.sql.*"%> <%@ page import = "java.io.*"%> <%@ page import = "org.apache.commons.io.*"%> <% HttpSession zforce=request.getSession(false); zforce = request.getSession(true); try { DBConnectionManager dbm = DBConnectionManager.getInstance(); } catch(SQLException sql) { System.out.println("main:" + sql); } catch(IOException ee) { System.out.println("classException:" + ee); } zforce.putValue("user_status","31"); String str1 =((String)zforce.getValue("Error")== null)?"noError":(String)zforce.getValue("Error"); %> Chit & Finance Company in India | Best Finance in Chenni | Best Chit Company in India <% Init prop1 = new Init(); prop1.read("config.properties"); String dt=""; String month=""; String caption=""; String recordid=""; String year=""; String file=""; System.out.println("hii.............................>>>>"); String selqry="select id,to_char(newsdate,'dd')dt,substr(to_char(newsdate,'Month'),0,3)month,substr(to_char(newsdate,'YYYY'),0,4)year,initcap(NEWSCAPTION)NEWSCAPTION,FILENAME,news from gps.news_n_events@orcl where LOGINTYPE='SGCF' and active='Y' and FLASH_NEWS='N' order by newsdate desc "; Vector selvec=(new VectoringChange(selqry)).getRead(request,response); System.out.println("con.............................>>>>"+new VectoringChange(selqry).getRead(request,response)); %>

Latest News

<%String newsinfo="";String details=""; if (selvec.size()>0) { for (int i=0;i100) newsinfo=details.substring(0,100)+".................."; else newsinfo=details+".................."; %>
<%=dt%>
<%=month%>
<%=newsinfo%>
<%}}%>