A
AdSR
Hi all,
I already googled for this, but didn't get a good answer. I have the
following problem:
In my action class I do
request.setAttribute("result", result);
Then in the JSP page
<logicresent name="result">
<p>Got result</p>
</logicresent>
<% if (request.getAttribute("result") != null) { %>
<p>found attribute</p>
<% } %>
None of the test messages show. What am I doing wrong?
Relevant config excerpt:
<action
path="/calc"
type="valueadder.CalculateAction"
name="paramsForm"
scope="request"
validate="true"
unknown="true"
forward="/index.jsp"
input="/index.jsp">
</action>
TIA,
AdSR
I already googled for this, but didn't get a good answer. I have the
following problem:
In my action class I do
request.setAttribute("result", result);
Then in the JSP page
<logicresent name="result">
<p>Got result</p>
</logicresent>
<% if (request.getAttribute("result") != null) { %>
<p>found attribute</p>
<% } %>
None of the test messages show. What am I doing wrong?
Relevant config excerpt:
<action
path="/calc"
type="valueadder.CalculateAction"
name="paramsForm"
scope="request"
validate="true"
unknown="true"
forward="/index.jsp"
input="/index.jsp">
</action>
TIA,
AdSR