Announcement Announcement Module
Collapse
No announcement yet.
${} flowScope not resolving on jsp Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • ${} flowScope not resolving on jsp

    i am attempting to integrate spring webflow (2.0.8) into an existing spring mvc application.

    my jsp pages are not resolving flowScope variables in ${}

    for example, my jsp code:
    Code:
    <tr>
      <th>test value:</th>
      <td><c:out value="${testString}"></c:out></td>
      <td><INPUT TYPE=TEXT  SIZE=20 value = ${testString}>  </td>
      <td>${testString} </td>
    </tr>
    jsp output displays:
    Code:
    testvalue: ${testString}  ${testString}  ${testString}
    jslt core is included on my jsp and is evaluating as expected:
    Code:
    <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
    ...
    <c:if test="true">
    	true stuff here
    </c:if>
    <c:out value="plain old c:out here!"></c:out>
    other flowScope variables are evaluating correctly when attached to the <form:select tag
    Code:
    <td>
      <form:select path="manufacturerId" items="${manufacturers}" itemLabel="name" itemValue="id"></form:select>
    </td>
    what am i missing that is preventing flowScope variables to be printed to the jsp view using the ${}
    ???

  • #2
    Fix your web.xml... Make sure the version is 2.4 and not 2.3...

    Comment


    • #3
      thanks! this fixed the problem.

      Comment

      Working...
      X