Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Is it your proper struts.xml file? Your struts file seems missing results type for tiles</p> <pre><code>&lt;result-types&gt; &lt;result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" /&gt; &lt;/result-types&gt; </code></pre> <p>Your struts.xml should look like this:`</p> <pre><code>&lt;struts&gt; &lt;constant name="struts.devMode" value="true"/&gt; &lt;constant name="struts.action.extension" value="html"/&gt; &lt;package name="default" namespace="/" extends="struts-default"&gt; &lt;result-types&gt; &lt;result-type name="tiles" class="org.apache.struts2.views.tiles.TilesResult" /&gt; &lt;/result-types&gt; &lt;action name="createApplication" class="com.action.ApplicationAction" method="create"&gt; type="tiles"&gt;/applicationReadOnlyBody.tiles&lt;/result&gt;--&gt; &lt;result name="success" type="redirectAction"&gt; &lt;param name="actionName"&gt;applicationView.html&lt;/param&gt; &lt;!-- &lt;param name="namespace"&gt;/&lt;/param&gt; --&gt; &lt;param name="applicationId"&gt;${appId}&lt;/param&gt; &lt;/result&gt; &lt;result name="input" type="tiles"&gt;/new-application.tiles&lt;/result&gt; &lt;/action&gt; &lt;action name="applicationView" class="com.action.ApplicationReadOnlyAction" method="viewApplication"&gt; &lt;result name="success" type="tiles"&gt;/applicationReadOnlyBody.tiles&lt;/result&gt; &lt;/action&gt; &lt;/package&gt; &lt;/struts&gt; </code></pre> <p>`</p> <p>And in struts2 redirectAction is changed to redirect. Make changes try it and tell me</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload