javax.servlet.ServletException: Could not resolve view with name 'Success' in se

ljh0242 2010-09-18 06:32:33
各位帮我看下啊,急死了
这是我的控制类:

package com.peak.riskscan.controller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;


import com.peak.riskscan.alertfeedback.dao.RgpcDao;

public class InsertRgpcController implements Controller{

private RgpcDao rgpcDao;

public ModelAndView handleRequest(HttpServletRequest request,
HttpServletResponse response) throws Exception {
// TODO Auto-generated method stub

String batch_info=request.getParameter("batch_info");
// String proccessType = request.getParameter("type");
String expect_date=request.getParameter("expect_date");

// System.out.println(batch_info);


System.out.println(batch_info);


System.out.println(expect_date);



String successView = "";

rgpcDao.insertBatchInfo(batch_info,expect_date);

successView = "Success";
/*

if("check".equalsIgnoreCase(proccessType)){

rgpcDao.insertBatchInfo(batch_info,expect_date);

successView = "checkSuccess";


}
*/
/*
if("check".equalsIgnoreCase(proccessType)){
// alertFeedback.setFhrq(date);
//String fhbz = request.getParameter("flag");
//alertFeedback.setFhbz(fhbz);

//rgpc.setBatch_info(batch_info);
rgpcDao.insertBatchInfo(batch_info,expect_date);

successView = "checkSuccess";
}
*/

return new ModelAndView(successView);






}

public RgpcDao getRgpcDao() {
return rgpcDao;
}

public void setRgpcDao(RgpcDao rgpcDao) {
this.rgpcDao = rgpcDao;
}









}
这是我的properties文件,
jstlView.class=org.springframework.web.servlet.view.JstlView
jstlView.url=


showScanErrorsView.url=/WEB-INF/jsp/scanLog/showScanErrors.jsp
ScanModelListView.url=/WEB-INF/jsp/scanModel/scanModelList.jsp
allScanSuccessView.url=/WEB-INF/jsp/scanModel/allScanSuccess.jsp
buzzDateNoMatchView.url=/WEB-INF/jsp/scanModel/buzzDateNoMatch.jsp

downAssignView.url=/WEB-INF/jsp/alertFeedback/downAssign.jsp
downAssignSuccessView.url=/WEB-INF/jsp/alertFeedback/downAssignSuccess.jsp
downAssignFailView.url=/WEB-INF/jsp/alertFeedback/downAssignFail.jsp
checkListView.url=/WEB-INF/jsp/alertFeedback/checkList.jsp
replyListView.url=/WEB-INF/jsp/alertFeedback/replyList.jsp
checkInfoView.url=/WEB-INF/jsp/alertFeedback/checkInfo.jsp
checkInfo.url=/WEB-INF/jsp/alertFeedback/batchstatus.jsp
repCheck.url=/WEB-INF/jsp/alertFeedback/batch.jsp
Success=/WEB-INF/jsp/alertFeedback/success.jsp


replyInfoView.url=/WEB-INF/jsp/alertFeedback/replyInfo.jsp
checkSuccessView.url=/WEB-INF/jsp/alertFeedback/checkSuccess.jsp
replySuccessView.url=/WEB-INF/jsp/alertFeedback/replySuccess.jsp
repCheckView.url=/WEB-INF/jsp/alertFeedback/reCheckInfo.jsp
modifyView.url=/WEB-INF/jsp/alertFeedback/modifyDownAssign.jsp
modifySuccessView.url=/WEB-INF/jsp/alertFeedback/modifySuccess.jsp
addErrorInfoView.url=/WEB-INF/jsp/alertFeedback/addErrorInfo.jsp
addErrorInfoSuccessView.url=/WEB-INF/jsp/alertFeedback/addErrorInfoSuccess.jsp
replyCheckView.url=/WEB-INF/jsp/alertFeedback/replyCheckInfo.jsp
replyCheckSuccessView.url=/WEB-INF/jsp/alertFeedback/replyCheckSuccess.jsp

importSuccessView.url=/WEB-INF/jsp/importModel/importSuccess.jsp
failTableNameView.url=/WEB-INF/jsp/importModel/failTableNamelList.jsp
downloadSuccessView.url=/WEB-INF/jsp/importModel/downloadSuccess.jsp
dataFileListView.url=/WEB-INF/jsp/importModel/dataFileList.jsp
noDataPathFoundView.url=/WEB-INF/jsp/importModel/noDataPathFound.jsp

addInnerAccountCheckSuccessView.url=/WEB-INF/jsp/innerAccountCheck/addSuccess.jsp
addInnerAccountCheckView.url=/WEB-INF/jsp/innerAccountCheck/addInnerAccountCheck.jsp
deleteInnerAccountConfirmView.url=/WEB-INF/jsp/innerAccountCheck/deleteConfirm.jsp
deleteSucessView.url=/WEB-INF/jsp/innerAccountCheck/deleteSuccess.jsp
commonSuccessView.url=/WEB-INF/jsp/commonSuccess.jsp

addSPzzlView.url=/WEB-INF/jsp/importantvoucher/addSPzzl.jsp
deleteSPzzlConfirmView.url=/WEB-INF/jsp/importantvoucher/deleteSPzzlConfirm.jsp
SPzzlSuccessView.url=/WEB-INF/jsp/importantvoucher/deleteSPzzlSuccess.jsp
addSGypzyeView.url=/WEB-INF/jsp/importantvoucher/addSGypzye.jsp
updateSGypzyeView.url=/WEB-INF/jsp/importantvoucher/updateSGypzye.jsp
updateSGypzyeFailedView.url=/WEB-INF/jsp/importantvoucher/updateSGypzyeFailed.jsp
addSGypzyeFailedView.url=/WEB-INF/jsp/importantvoucher/addSGypzyeFailed.jsp
deleteSGypzyeConfirmView.url=/WEB-INF/jsp/importantvoucher/deleteSGypzyeConfirm.jsp
SGypzyeSuccessView.url=/WEB-INF/jsp/importantvoucher/deleteSGypzyeSuccess.jsp
importantVoucherSuccessView.url=/WEB-INF/jsp/importantvoucher/importantVoucherSuccess.jsp
ModifyBatchInfoSuccessView.url=/WEB-INF/jsp/modifyBatchInfoSuccess.jsp

RollbackSuccessView.url=/WEB-INF/jsp/commonSuccess.jsp
RollbackFaildView.url=/WEB-INF/jsp/importModel/RollbackFaild.jsp
FTPNotDataFoundView.url=/WEB-INF/jsp/importModel/FTPNotDateFound.jsp
ManualAllSuccessView.url=/WEB-INF/jsp/commonSuccess.jsp
ImporFaildtView.url=/WEB-INF/jsp/importModel/ImportFaild.jsp
AutoSchedulerIsRunningView.url=/WEB-INF/jsp/importModel/AutoSchedulerIsRunning.jsp
afterFiveMinutesView.url=/WEB-INF/jsp/importModel/afterFiveMinutes.jsp


preAddBlacklistView.url=/WEB-INF/jsp/blacklist/preAddBlacklist.jsp
preDelBlacklistView.url=/WEB-INF/jsp/blacklist/preDelBlacklist.jsp
blacklistSuccessView.url=/WEB-INF/jsp/blacklist/blacklistSuccess.jsp

preAddSupWaterRecordView.url=/WEB-INF/jsp/supwater/preAddSupWaterRecord.jsp
addSupWaterRecordSuccessView.url=/WEB-INF/jsp/supwater/addSupWaterRecordSuccess.jsp


initSpdevCfgView.url=/WEB-INF/jsp/spdev/initSpdevCfg.jsp
insertSpdevCfgView.url=/WEB-INF/jsp/spdev/insertSpdevCfg.jsp
insertSpdevCfgSucessView.url=/WEB-INF/jsp/spdev/insertSpdevCfgSuccess.jsp
insertInitSpdevCfgView.url=/WEB-INF/jsp/spdev/insertInitSpdevCfg.jsp
modifyInitSpdevCfgView.url=/WEB-INF/jsp/spdev/modifySpdevCfg.jsp
modifySpdevCfgSucessView.url=/WEB-INF/jsp/spdev/modifySpdevCfgSuccess.jsp
deleteSpdevCfgSucessView.url=/WEB-INF/jsp/spdev/deleteSpdevCfgSuccess.jsp
monitorSpdevView.url=/WEB-INF/jsp/spdev/monitorSpdev.jsp

qxfIndexSuccessView.url=/WEB-INF/jsp/qxf/qxfIndex.jsp
qxfWsbListView.url=/WEB-INF/jsp/qxf/qxfWsbList.jsp
qxfReportView.url=/WEB-INF/jsp/qxf/qxfReport.jsp
qxfActiveReportView.url=/WEB-INF/jsp/qxf/qxfActiveReport.jsp
qxfSuccess.url=/WEB-INF/jsp/qxf/qxfSuccess.jsp
qxfSuccess1.url=http://32.126.152.87:8080/RiskScan/GetQuery?S_ID=qxf_01
qxfJdView.url=/WEB-INF/jsp/qxf/qxfJd.jsp
qxfView.url=/WEB-INF/jsp/qxf/qxfView.jsp
qxfDxPz.url=/WEB-INF/jsp/qxf/qxfDxPz.jsp
qxfProxyAdd.url=/WEB-INF/jsp/qxf/qxfProxyAdd.jsp
qxfProxyEdit.url=/WEB-INF/jsp/qxf/qxfProxyEdit.jsp
initQxfTypeView.url=/WEB-INF/jsp/qxfType/initQxfType.jsp
ModifyQxfTypeSuccessView.url=/WEB-INF/jsp/qxfType/modifyQxfTypeSuccess.jsp
qxfManualSendInit.url=/WEB-INF/jsp/qxf/qxfManualSendInit.jsp
想要用ModelAndView实现页面跳转,报错错啊

我要跳转到这里,怎么实现啊?

Success=/WEB-INF/jsp/alertFeedback/success.jsp



...全文
2142 点赞 收藏 2
写回复
2 条回复
切换为时间正序
当前发帖距今超过3年,不再开放新的回复
发表回复
ljh0242 2010-09-18
呵呵,自己搞定了
回复
相关推荐
发帖
Web 开发
创建于2007-09-28

8.0w+

社区成员

Java Web 开发
申请成为版主
帖子事件
创建了帖子
2010-09-18 06:32
社区公告
暂无公告