<%-- Document : index Created on : Dec 9, 2013, 9:55:45 AM Author : aqfaridi --%> <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %> <%@page import="java.sql.*,connection.Config" %> CodeShare <% String User =(String) session.getAttribute("username"); // out.print(User); if(User != null) {%> <%@include file="header1.jsp" %> <% } else {%> <%@ include file="header.jsp" %> <% } %>

CodeShare

How can we help you today?

Answering your questions and providing support when you need it.


Welcome to CodeShare


CodeShare is a type of web application where anyone can share codes in any programming language and add any programming question for discussion . This type of website is mainly used by programmers to store pieces of source code or configuration information. The idea behind CodeShare is to make it more convenient for people to share large amounts of codes online.

For Viewing the solutions and Comment/Discuss , a user must Register on CodeShare.





<% Config c = new Config(); Connection con = c.getcon(); Statement st = con.createStatement(); String qry = "SELECT * FROM spoj"; ResultSet rs = st.executeQuery(qry); int i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=spoj" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM codechef"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=codechef" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM codeforces"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=codeforces" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM topcoder"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=topcoder" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM projecteuler"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=projecteuler" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM codejam"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=codejam" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM acmicpc"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=acmicpc" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM uva"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=uva" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM timus"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=timus" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM livearchive "; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=livearchive" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM own"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=own" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM other"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } %>
S No. Problem Code Problem Name Category
<%=i%> <%=rs.getString("problemcode")%> &res=other" > <%=rs.getString("problemname")%> <%=rs.getString("category")%>
View more...
<% st = con.createStatement(); qry = "SELECT * FROM askquestions"; rs = st.executeQuery(qry); i = 0; %> <% while(rs.next() && i<=19) { i++; %> <% } con.close(); %>
S No. Question Code Question Title Category
<%=i%> <%=rs.getString("questioncode")%> " > <%=rs.getString("questiontitle")%> <%=rs.getString("category")%>
View more...



<%@include file="footer.jsp" %>