zoukankan      html  css  js  c++  java
  • 问卷调查系统----前台页面的数据的获取

     调查问卷系统问卷发布页面数据的获取:

    import java.util.ArrayList; import java.util.List;
    import javax.servlet.http.HttpServletRequest; 
    import javax.servlet.http.HttpSession;
    import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMethod; import org.springframework.web.servlet.ModelAndView;
    import com.ultrawise.survey.core.base.BaseContoller; import com.ultrawise.survey.core.base.ServiceException; import com.ultrawise.survey.module.surevybase.service.TSurveyDataAnswerService; import com.ultrawise.survey.module.user.vo.TSurveyInfoUsers; 
    @Controller         
    @RequestMapping("/symanage/answer")
     public class  TSurveyDataAnswerControl extends BaseContoller {  
    @Autowired  TSurveyDataAnswerService tSurveyDataAnswerService;  @Autowired      
    @RequestMapping(value = "answer.htm", method = RequestMethod.POST)     public ModelAndView login(HttpServletRequest request)    throws ServiceException {   //查询问题   List ls   for(ls){    
    String[] val =request.getParameterValues("q"+list.id)   }    
      return new ModelAndView("/answer/");  } }
    

      

  • 相关阅读:
    第四次团队作业
    第三次团队作业博客——系统设计
    第二次团队作业博客
    第一次团队作业博客
    团队作业——总结
    软件工程课程总结
    Beta冲刺提交-星期三
    个人作业-Alpha项目测试
    第四次团队作业
    第三次团队作业——系统设计
  • 原文地址:https://www.cnblogs.com/demoworld/p/3317715.html
Copyright © 2011-2022 走看看