Home » Source Code » Student management system » DeleteCourseServlet.java

DeleteCourseServlet.java ( File view )

  • By rainboy0615 2013-12-17
  • View(s):22
  • Download(s):0
  • Point(s): 1
			package servlets;

import java.io.IOException;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;

import utils.EJBFactory;

import com.stuclasschoose.ejb3.dao.CourseChooseDAO;

public class DeleteCourseServlet extends HttpServlet {


	public void init(ServletConfig config) throws ServletException {

		super.init(config);
	
}

	public void doGet(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {

		doPost(request, response);
	
}

	public void doPost(HttpServletRequest request, HttpServletResponse response)
			throws ServletException, IOException {

		CourseChooseDAO coursedao = (CourseChooseDAO) EJBFactory
				.lookup("CourseChooseDAOBean/remote");
		response.setContentType("text/html;charset=GB2312"
...
...
(Please download the complete source code to view)
			
...
Expand> <Close

Want complete source code? Download it here

Point(s): 1

Download
0 lines left, continue to read
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
.classpath529.00 B21-10-11|14:56
.mymetadata310.00 B21-10-11|10:01
.project1.59 kB21-10-11|09:48
.jsdtscope500.00 B21-10-11|09:48
org.eclipse.jdt.core.prefs395.00 B21-10-11|09:48
org.eclipse.wst.common.component461.00 B21-10-11|09:48
org.eclipse.wst.common.project.facet.core.xml252.00 B21-10-11|09:48
org.eclipse.wst.jsdt.ui.superType.container49.00 B21-10-11|09:48
org.eclipse.wst.jsdt.ui.superType.name6.00 B21-10-11|09:48
Course.java3.16 kB22-10-11|13:17
CourseChoose.java2.01 kB22-10-11|13:48
Student.java2.57 kB22-10-11|13:17
CourseChooseDAO.java446.00 B23-10-11|00:52
CourseDAO.java432.00 B21-10-11|15:27
StudentDAO.java577.00 B21-10-11|15:27
SetCharacterEncodingFilter.java1.50 kB21-10-11|20:19
AdminLogin.java1.45 kB23-10-11|14:58
CourseAdd.java2.26 kB23-10-11|14:50
CourseDelete.java1.35 kB23-10-11|14:50
CourseModify.java2.53 kB23-10-11|14:50
DeleteCourseServlet.java1.49 kB23-10-11|14:50
Exit.java1.06 kB23-10-11|14:50
Register.java1.37 kB23-10-11|14:50
SelectCourseServlet.java1.41 kB23-10-11|14:50
StuAdd.java1.13 kB23-10-11|14:50
StuDelete.java1.13 kB23-10-11|14:50
StuInfoChange.java1.64 kB23-10-11|14:50
StuLogin.java1.40 kB23-10-11|14:57
StuModify.java1.58 kB23-10-11|14:50
EJBFactory.java681.00 B21-10-11|21:04
Pager.java1.95 kB21-10-11|20:23
courseAndSutdentModify.css1.05 kB21-10-11|09:48
courseSelected.css2.98 kB21-10-11|09:48
courseSelected2.css2.98 kB21-10-11|09:48
index.css3.12 kB21-10-11|09:48
studentAndCource.css2.34 kB21-10-11|09:48
1.gif8.06 kB21-10-11|09:48
10.gif10.01 kB21-10-11|09:48
2.gif12.15 kB21-10-11|09:48
3.gif11.50 kB21-10-11|09:48
4.gif9.47 kB21-10-11|09:48
5.gif8.07 kB21-10-11|09:48
6.gif5.39 kB21-10-11|09:48
7.gif12.24 kB21-10-11|09:48
8.gif10.07 kB21-10-11|09:48
9.gif10.95 kB21-10-11|09:48
arrow3.gif122.00 B21-10-11|09:48
arrow4.gif122.00 B21-10-11|09:48
arrow5.gif315.00 B21-10-11|09:48
border.gif354.00 B21-10-11|09:48
leftside_bg.gif54.12 kB21-10-11|09:48
left_down_left.jpg3.32 kB21-10-11|09:48
left_down_right.jpg50.57 kB21-10-11|09:48
left_up.jpg23.56 kB21-10-11|09:48
login1.gif1.20 kB21-10-11|09:48
main_bg.jpg597.00 B21-10-11|09:48
mid.jpg42.16 kB21-10-11|09:48
mid_down.jpg515.00 B21-10-11|09:48
name.gif1,001.00 B21-10-11|09:48
password.gif1.03 kB21-10-11|09:48
re_password.gif1.03 kB21-10-11|09:48
right_down_left.jpg15.33 kB21-10-11|09:48
right_down_right.jpg15.19 kB21-10-11|09:48
right_mid.jpg6.03 kB21-10-11|09:48
right_up_left.jpg5.69 kB21-10-11|09:48
right_up_right.jpg5.38 kB21-10-11|09:48
东北大学学生选课_01.psd1.08 MB21-10-11|09:48
index.jsp4.30 kB22-10-11|23:16
adminLogin.jsp2.25 kB21-10-11|09:48
courseAdd.jsp4.49 kB21-10-11|09:48
courseCheck.jsp3.77 kB22-10-11|21:58
courseManage.jsp5.87 kB21-10-11|20:40
courseModify.jsp5.11 kB22-10-11|14:35
courseSelected.jsp5.26 kB21-10-11|20:40
courseSelected_down.jsp2.61 kB22-10-11|11:09
courseSelected_up.jsp2.60 kB21-10-11|20:40
register.jsp2.68 kB21-10-11|09:48
stuInfoChange.jsp2.47 kB21-10-11|09:48
stuLogin.jsp2.29 kB21-10-11|09:48
stuManage.jsp4.19 kB21-10-11|21:02
stuModify.jsp3.53 kB22-10-11|14:34
MANIFEST.MF39.00 B21-10-11|09:48
Course.class4.10 kB22-10-11|17:03
CourseChoose.class2.61 kB22-10-11|17:03
Student.class3.26 kB22-10-11|17:03
CourseChooseDAO.class777.00 B23-10-11|00:52
CourseDAO.class572.00 B22-10-11|17:03
StudentDAO.class600.00 B22-10-11|17:03
SetCharacterEncodingFilter.class2.06 kB22-10-11|17:03
AdminLogin.class2.02 kB23-10-11|14:58
CourseAdd.class3.47 kB23-10-11|14:50
CourseDelete.class2.04 kB23-10-11|14:50
CourseModify.class3.80 kB23-10-11|14:50
DeleteCourseServlet.class2.31 kB23-10-11|14:50
Exit.class1.59 kB23-10-11|14:50
Register.class2.33 kB23-10-11|14:50
SelectCourseServlet.class2.28 kB23-10-11|14:50
StuAdd.class2.03 kB23-10-11|14:50
StuDelete.class2.02 kB23-10-11|14:50
StuInfoChange.class2.40 kB23-10-11|14:50
StuLogin.class2.47 kB23-10-11|14:58
StuModify.class2.79 kB23-10-11|14:50
EJBFactory.class1.07 kB22-10-11|17:03
Pager.class2.10 kB22-10-11|17:03
web.xml6.31 kB23-10-11|15:52
.classpath431.00 B19-10-11|22:54
.mymetadata185.00 B21-10-11|09:34
.project1.26 kB22-10-11|15:38
org.eclipse.jdt.core.prefs395.00 B19-10-11|22:54
org.eclipse.jpt.core.prefs101.00 B19-10-11|22:54
org.eclipse.wst.common.component327.00 B19-10-11|22:54
org.eclipse.wst.common.project.facet.core.xml295.00 B19-10-11|22:54
Course.class4.10 kB22-10-11|17:03
CourseChoose.class2.61 kB22-10-11|17:03
Student.class3.26 kB22-10-11|17:03
CourseChooseDAO.class777.00 B23-10-11|00:51
CourseDAO.class572.00 B22-10-11|17:03
StudentDAO.class600.00 B22-10-11|17:03
CourseChooseDAOBean.class4.17 kB23-10-11|15:20
CourseDAOBean.class2.76 kB22-10-11|17:03
StudentDAOBean.class3.11 kB23-10-11|14:55
MANIFEST.MF36.00 B19-10-11|22:54
persistence.xml545.00 B22-10-11|17:30
Course.java3.16 kB22-10-11|13:13
CourseChoose.java2.01 kB22-10-11|13:41
Student.java2.57 kB21-10-11|23:21
CourseChooseDAO.java446.00 B23-10-11|00:51
CourseDAO.java432.00 B21-10-11|15:27
StudentDAO.java577.00 B21-10-11|15:27
CourseChooseDAOBean.java2.57 kB23-10-11|15:20
CourseDAOBean.java1.59 kB21-10-11|15:50
StudentDAOBean.java2.22 kB23-10-11|14:55
MANIFEST.MF36.00 B19-10-11|22:54
persistence.xml545.00 B22-10-11|17:30
bean0.00 B23-10-11|22:57
dao0.00 B23-10-11|22:57
ejb30.00 B23-10-11|22:57
bean0.00 B23-10-11|22:57
dao0.00 B23-10-11|22:57
stuclasschoose0.00 B22-10-11|17:03
bean0.00 B23-10-11|22:57
dao0.00 B23-10-11|22:57
impl0.00 B23-10-11|22:57
bean0.00 B23-10-11|22:57
dao0.00 B23-10-11|22:57
impl0.00 B23-10-11|22:57
ejb30.00 B23-10-11|22:57
com0.00 B22-10-11|17:03
filter0.00 B23-10-11|14:49
servlets0.00 B23-10-11|22:57
utils0.00 B23-10-11|22:57
ejb30.00 B23-10-11|22:57
ejb30.00 B23-10-11|22:57
stuclasschoose0.00 B22-10-11|13:16
classes0.00 B23-10-11|22:57
lib0.00 B21-10-11|09:48
stuclasschoose0.00 B22-10-11|17:03
stuclasschoose0.00 B21-10-11|09:33
com0.00 B22-10-11|13:16
filter0.00 B23-10-11|14:49
servlets0.00 B23-10-11|22:57
utils0.00 B23-10-11|22:57
css0.00 B23-10-11|22:57
image0.00 B23-10-11|22:57
jsp0.00 B23-10-11|22:57
META-INF0.00 B23-10-11|22:57
WEB-INF0.00 B23-10-11|22:57
com0.00 B22-10-11|17:03
META-INF0.00 B23-10-11|22:57
com0.00 B21-10-11|09:33
META-INF0.00 B23-10-11|22:57
.settings0.00 B23-10-11|22:57
src0.00 B23-10-11|22:57
WebRoot0.00 B23-10-11|22:57
.myeclipse0.00 B19-10-11|22:54
.settings0.00 B23-10-11|22:57
classes0.00 B23-10-11|22:57
src0.00 B23-10-11|22:57
StuClassChooseWeb0.00 B23-10-11|22:57
StuClassChooseEJB0.00 B23-10-11|22:57
...
Sponsored links

DeleteCourseServlet.java (741.97 kB)

Need 1 point
Your Point(s)

Your Point isn't enough.

Get point immediately by PayPal

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more point

LOGIN

Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com

切换到中文版?

CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!
OK

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D