<%@ page errorPage="SEBIErrorPage.jsp" %> <%@ page language="java" import="com.sebi.web.reuse.*, com.sebi.web.common.*, com.sebi.web.user.*, com.sebi.web.content.*, java.util.*, java.text.*" %> Securities and Exchange Board of India - Home page
<% System.out.println("===== Testing ======= "); User user = new User(); String doclocation = ""; boolean loginStatus = false; ArrayList whatsNewList = new ArrayList(); ArrayList depList = new ArrayList(); String depname = ""; int whatsNewDisp = 0; // Check the user has logged in or not if (session.getAttribute("userDetails") != null) { user = (User)session.getValue("userDetails"); loginStatus = user.isLoginStatus(); } Properties property_list = new Properties(); property_list = pr.getProperties(); HeaderDAO headerdao = new HeaderDAO(property_list); // Whats New scrolling content display. whatsNewList = headerdao.getWhatsNewHomePage(); Header whatsNewheader = new Header(); ArrayList whatsNewscroll = new ArrayList(); if (whatsNewList.size() > 20) { whatsNewDisp = 20; } else { whatsNewDisp = whatsNewList.size(); } for (int i=0; i
Securities and Exchange Board of IndiaEnglishHindi
Sebi
<%=new SimpleDateFormat("EEEE, MMM dd, yyyy").format(Calendar.getInstance().getTime())%>, India
What's New
Reports
FAQs
SAT Hearings
Statistics
Useful Links
Careers with SEBI
Tenders
RTI Act, 2005
SEBI RSS Feed
Disclaimer | Acknowledgement 
<% } // end of logged uese } // end of check session check %> <% if ( session.getAttribute("userDetails") == null ) {%>
<% if(loginStatus) { %> <% } else { %> <% } %>
My ProfileSearchSite HelpAbout SEBILogoutContact UsSearchSite HelpAbout SEBIMy SEBIContact Us
                                 
                                 
 
 
<% } // condition for Admin user else { userID = user.getUserId(); regUserPer = user.getPersonalization(); for (int i=0; i
<% ArrayList secList = new ArrayList(); ArrayList subSecList = new ArrayList(); int lintCounter = 0; String secName = null; String subSecName = null; int secID = 0; int subSecID = 0; int userID = 0; ArrayList regUserPer = new ArrayList(); Section sec = xml.loadSection(); secList = sec.getSections(); if ( session.getAttribute("userDetails") != null ) { if (user.getUserType().trim().equals("A")) { %>
Newsletter
Search Users
Generate XML
 
 
<% subSecList = sec.getSubSections(secID); int subSecCount = subSecList.size(); if (subSecCount > 3 ) { for(int k=0; k<3; k++) { subSecID = ((Section)subSecList.get(k)).getID(); subSecName = ((Section)subSecList.get(k)).getName(); %> <% } %> <% } else { for(int l=0; l <% } } %>
more...
<% if (lintCounter % 3 == 0) { %>
 
 
 
<% } else { %> <% } // end else } // end if ... condition for section } // end for persanalization } // end for section %>
more...
more...
more...
 
 
 
more...
more...
more...
 
 
 
<%}%>