0
나는 이런 식으로, (내 스프링 컨트롤러에서) 내보기에 매개 변수를 전달하는 경우 :읽기 매개 변수
mav.addObject("command", serv.getNewObject());
또는
mav.addObject("command", serv.getObject(id));
내보기
<custom:MainForm action="..." classe="...">
<custom:FieldBox ordem="...">
...
<custom:Input/>
...
</custom:Fieldbox>
</custom:MainForm>
나는 사용자 정의 태그 내부에이 매개 변수 command
에 액세스 할 수 있습니다 방법 :이 같은 사용자 정의 태그를 사용할 수 있습니까? 그래서 갈 기본적으로는 request scoped
입니다
Object object = pageContext.getAttribute("command");