courseid=request.getParameter("courseid");
ResultSet rs=stmt.executeQuery("select course_name from course where course_id='"+courseid+"'");
setCourseName s=new setCourseName();
s.setCourseName(cname);
while(rs.next())
{
cname=rs.getNString("course_name");
s.setCourseName(cname);
}
request.setAttribute("courseName",cname);
request.getRequestDispatcher("http://localhost:8080/ONLINEEXAMINATION/removeCourse.jsp").forward(request, response);