Dear Fabrizio and all,
Many thanks for your reply I fixed it and the problem was,just I had to take off bugNumber feild from the following codes, since it is generated automatically by database and I don't need to get it from HTML Form in
Servlet program...
See...no bugNumber any more...
try {
ID = Integer.parseInt(req.getParameter("ID"));
bdesc = req.getParameter("bdesc");
Date today=new Date();
submittedDate = today.toString();
month = req.getParameter("month");
day = req.getParameter("day");
year = req.getParameter("year");
fixedDate = year+"-"+day+"-"+month;
userID = Integer.parseInt(req.getParameter("userID"));
contact = req.getParameter("contact");