Commit cb59974 1 parent ecfdee1 commit cb59974 Copy full SHA for cb59974
File tree 2 files changed +3
-0
lines changed
test/java/it/org/apache/struts2/showcase
2 files changed +3
-0
lines changed Original file line number Diff line number Diff line change 42
42
<filter >
43
43
<filter-name >struts-execute</filter-name >
44
44
<filter-class >org.apache.struts2.dispatcher.filter.StrutsExecuteFilter</filter-class >
45
+ <async-supported >true</async-supported >
45
46
</filter >
46
47
47
48
<filter >
48
49
<filter-name >sitemesh</filter-name >
49
50
<filter-class >com.opensymphony.sitemesh.webapp.SiteMeshFilter</filter-class >
51
+ <async-supported >true</async-supported >
50
52
</filter >
51
53
52
54
<filter-mapping >
Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ public void testDispatchingToJSP() throws Exception {
40
40
@ Test
41
41
public void testDispatchingToAction () throws Exception {
42
42
try (final WebClient webClient = new WebClient ()) {
43
+ webClient .getOptions ().setThrowExceptionOnFailingStatusCode (false );
43
44
final HtmlPage page = webClient .getPage (ParameterUtils .getBaseUrl () + "/dispatcher/forward.action" );
44
45
45
46
//DomElement div = page.getElementById("dispatcher-result");
You can’t perform that action at this time.
0 commit comments