Sep 14th, 2006, 08:20 AM
c:import and the model
I've got following setup:
This triggers below error for b.jsp, which i presume is to be expected because the page doesn't have the model available as it didn't pass by the controller.
2006-09-14 15:04:59,487 ERROR Neither Errors instance nor plain target object for bean name 'null' available as request attribute
Is there a way around this ? My forms get quite big and complex so i'ld like to split them accross different templates. Using tiles is not an option.
Sep 14th, 2006, 08:26 AM
Feb 27th, 2007, 01:05 PM
Turning b.jsp into a tag file may solve the problem; it certainly provides a better component model than a simple include / import.
BTW, the c:import tag is notorious for leaking file handles - be sure to review resource usage if considering using it.
Feb 27th, 2007, 02:24 PM
maybe comething different like
<%@ include file=".."%>