Link to home
Start Free TrialLog in
Avatar of onaled777
onaled777Flag for United States of America

asked on

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

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:

	public String processDelete(Model model, @RequestParam(value="tumbleValue", required=true) String tumbleValue) throws Exception {
		alarmConfigService.deleteTumblingAlarmException(tumbleValue, tumbleType);
		return "forward:";

Open in new window

//This is the begin() method:

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

		if(alarmTypeCfgIdObj!=null) {
			alarmTypeCfgId = alarmTypeCfgIdObj.longValue();
		alarmTypeConfig = alarmConfigService.getTumblingAlarmType(tumbleType, alarmTypeCfgId);
		results = alarmConfigService.getTumblingAlarmExceptionList(tumbleType);
		return TO_INDEX;

Open in new window

Avatar of Sathish David  Kumar N
Sathish David Kumar N
Flag of India image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of onaled777


thanks.  I just ended up calling the beging method again.  But this I will  definitely give a try.  Thanks for your input.