2014-07-07 1 views
0

Tomcat 6, Jdk 7 및 Spring 3.0에서 애플리케이션이 원활하게 실행되었습니다. 최근에 우리는 바람둥이 7로 업그레이드하고 이상한 행동을보기 시작했습니다. 특정 엑셀 파일을 업로드 할 때 사용하는 업로드 버튼이있는 페이지가 있습니다. 작동 방법은 찾아보기 버튼을 클릭하고 파일을 선택하고 업로드를 클릭하는 것입니다. Tomcat 7로 업그레이드 한 후 업로드를 클릭하면 예외가 발생합니다. 이유 : flowexecution 키가 비어 있습니다. 이 라인멀티 파트 요청을위한 스프링 웹 플로우에서 플로우 실행 키가 비어 있음 - Tomcat 7

org.springframework.webflow.context.servlet.DefaultFlowUrlHandler#getFlowExecutionKey("execution") 

내가 빈 문자열을 얻을에, 디버깅 스프링 코드를 통해 (그것은 null이 비어 있지 않습니다).

내가

http://myapplication/admin/flows/fileUploadList-flow?execution=e5s7 

로 URL을 볼 수 있지만이 내 JSP 페이지에 다른 페이지가 잘 작동하는

<form:form commandName="model" name="model" method="post" enctype="multipart/form-data" 
action="${actionPath}"> 
<input type="hidden" name="_flowExecutionKey" value="${flowExecutionKey}"/> 
---- 
--- 
</form> 

입니다.

여기에 무슨 일이 벌어지고 있는지 궁금하십니까? 멀티 파트 요청으로 인해이 문제가 있습니까?

답변

1

변경

<input type="hidden" name="_flowExecutionKey" value="${flowExecutionKey}"/> 

매개 변수 이름 "flowExecutionKey"

<input type="hidden" name="execution" value="${flowExecutionKey}"/> 

에는

SWF 2.0에서 "실행"으로 변경
관련 문제