public String AddQuestion(){
	sid=request.getParameter("sid");
	String type=request.getParameter("type");
	String qhead=StringUtil.encodeString(request.getParameter("qHead"));
	String qbody=StringUtil.encodeString(request.getParameter("qBody")); 
	String qresult=StringUtil.encodeString(request.getParameter("qResult"));
	String qimg=request.getParameter("qImg");
	Question question=new Question();
	question.setSurvey(Long.valueOf(sid));
	question.setQType(Long.valueOf(type));
	question.setQHead(qhead);
	question.setQBody(qbody);
	question.setQResult(qresult);
	question.setQImg(qimg);
	question.setQOrder(0L);
	if(qbody==null){
		qbody="";
	}
	String [] qbodys=qbody.split("&\\$\\$&");
	String spliter="";
	for(int i=1;i<qbodys.length;i++)
		if(i==qbodys.length-1)
			spliter=spliter+"null&null";
		else
			spliter=spliter+"null&";
	question.setQJdtz(spliter);
	QuestionDAO dao=DAOFactory.getQuestionDAO();
	boolean ret=dao.addQuestion(question);
	if(ret==true){
//		response.sendRedirect("../admin/OpResult.jsp?op=Question&ret=true&sid="+sid);
		return "success";
	}else{
//		response.sendRedirect("../admin/OpResult.jsp?op=Question&ret=false");
		return "fail";
	}
}