[opencms-dev] Spring MVC integration. c:param doesnt work

jacek grzebyta (RRes-Roth) jacek.grzebyta at bbsrc.ac.uk
Wed Apr 28 12:46:05 CEST 2010


Hi again,

So Now I have:
<c:import url="${jsp.file}">
			<c:param name="test">value</c:param>
</c:import>

Where ${jsp.file} = "/test.spr"

In controller I have:
	@RequestMapping(method= RequestMethod.GET)
	public String goHello(@RequestParam(value="test", required=false) String test) {
		log.debug("+++++++++++|" + test + "|+++");
		return "hello";
	}

In output I have the contents of hello.jsp but in test variable I have null. It seems configuration is OK but <c:param /> tag doesn't work.
I tested it on plain tomcat6 and works fine.
Any suggestions?

Regards,
Jacek



More information about the opencms-dev mailing list