troubleshooting Question

"forward:" causing error on Weblogic with Spring framework code

Avatar of onaled777
onaled777Flag for United States of America asked on
Java EE
2 Comments1 Solution323 ViewsLast Modified:
Does any know why this does not appear to work in weblogic. The code is shown below:

But basically, instead of staying in its own controller, the "forward:" kicks the application back to the main controller or home page.

I have tried this in the tomcat server that comes with Spring Source and the forwarding does not present an issue.

Does any one know how to resolve this in web logic.


//This is the called to forward:

	@RequestMapping("processDelete")
	public String processDelete(Model model, @RequestParam(value="tumbleValue", required=true) String tumbleValue) throws Exception {
		
		alarmConfigService.deleteTumblingAlarmException(tumbleValue, tumbleType);
		
		return "forward:";
	}
//This is the begin() method:

	@RequestMapping()
	public String begin(Model model, @RequestParam(value="alarmTypeCfgId", required=false) Long alarmTypeCfgIdObj) throws Exception {
		logger.info("begin("+alarmTypeCfgId+") -- "+this.getControllerUrl());

		if(alarmTypeCfgIdObj!=null) {
			alarmTypeCfgId = alarmTypeCfgIdObj.longValue();
		}
		
		alarmTypeConfig = alarmConfigService.getTumblingAlarmType(tumbleType, alarmTypeCfgId);
		results = alarmConfigService.getTumblingAlarmExceptionList(tumbleType);
		
		setModel(model);
		return TO_INDEX;
	}
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 2 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros