Skip to content

Commit

Permalink
Merge pull request apache#646 from apache/WW-5264-xslt-cleanup
Browse files Browse the repository at this point in the history
[WW-5264] Removes XSLTResult from struts-default.xml as it was moved in to plugin
  • Loading branch information
lukaszlenart authored Dec 13, 2022
2 parents 56d905d + d11cf77 commit 0d81cdd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions apps/showcase/src/main/resources/struts-xslt.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@
*/
-->
<!DOCTYPE struts PUBLIC
"-//Apache Software Foundation//DTD Struts Configuration 2.5//EN"
"https://struts.apache.org/dtds/struts-2.5.dtd">
"-//Apache Software Foundation//DTD Struts Configuration 6.0//EN"
"https://struts.apache.org/dtds/struts-6.0.dtd">

<struts>
<package name="xslt" extends="struts-default" namespace="/xslt">
<package name="xslt" extends="xslt-default" namespace="/xslt">
<default-action-ref name="index"/>

<action name="index">
Expand Down
1 change: 0 additions & 1 deletion core/src/main/resources/struts-default.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
<result-type name="redirect" class="org.apache.struts2.result.ServletRedirectResult"/>
<result-type name="redirectAction" class="org.apache.struts2.result.ServletActionRedirectResult"/>
<result-type name="stream" class="org.apache.struts2.result.StreamResult"/>
<result-type name="xslt" class="org.apache.struts2.result.xslt.XSLTResult"/>
<result-type name="plainText" class="org.apache.struts2.result.PlainTextResult"/>
<result-type name="postback" class="org.apache.struts2.result.PostbackResult"/>
</result-types>
Expand Down

0 comments on commit 0d81cdd

Please sign in to comment.