954,202 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

online exam source code in jsp

hi every body! i m doing my online project in jsp..i want to refer some other online exams..so i need source code for online exam application in jsp...any body is there for me to help?

kavisymphony
Newbie Poster
1 post since May 2007
Reputation Points: 10
Solved Threads: 0
 

check some quiz sites.

ithelp
Nearly a Posting Maven
Banned
2,230 posts since May 2006
Reputation Points: 769
Solved Threads: 128
 
check some quiz sites.


i need online exam source code in jsp

samsathish
Newbie Poster
5 posts since Aug 2007
Reputation Points: 9
Solved Threads: 1
 

So write some. If you have problems, and a specific question, then come back and we will help, but for God's/Allah's/Buddha's/'s sake, Do Your Own Homework, or at least make an attempt at it.

masijade
Industrious Poster
Moderator
4,253 posts since Feb 2006
Reputation Points: 1,471
Solved Threads: 494
 

<%@ page contentType="text/html" %>
<%@ page session="true" %>
<%@ page language="java" %>
<%@ page autoFlush="true" import="com.hurix.mhlncms.*, java.util.*"%>
<%@ page import="java.util.*,java.io.*,java.sql.*"%>
Management Information System

<%
mis.setHurixDbconnection(hdbc);
String examdate1 = request.getParameter("examdate") != null ? request.getParameter("examdate") : null;
String answer = "";
%>



 
Optitude Test
 






 


Exam Timing::

 




<%
Connection con = null;
String strPrjQuery=null;
ResultSet rst=null;
Statement stmt=null;
Collection EItemCheck=new Vector();
int n=0;
int i=0;
String q;

try
{
con=hdbc.getConnectionFromPool();

stmt=con.createStatement();
rst=stmt.executeQuery("select * from PMS_ONLINEWRITTEN ORDER BY dbms_random.value");

while(rst.next())
{
%>


">
">
">
">
">
">
">
">
">
">

<%

}

}
catch(SQLException e)
{
throw new SQLException("Error in Retrieving all the Projects ",null,e.getErrorCode());
}
finally
{
hdbc.putConnectionToPool(con);
}

Collection optians = mis.fetchoptianswer();
int n1=0;
int x;
String answer1="";
if (optians != null)
{
Iterator iter1 = optians.iterator();
Vector vect = new Vector();
while(iter1.hasNext())
{
vect = (Vector)iter1.next();
answer1= vect.elementAt(0).toString();
out.println("answer::"+answer1+"
");

}
}
%>



hidash_in
Junior Poster in Training
86 posts since Oct 2007
Reputation Points: 1
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You