struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Tiles 2 Lifecycycle
Date Wed, 11 Apr 2007 18:33:35 GMT
I am discovering slightly different behavior between my application with
Tiles and without.  Consider the following snippet of configuration:

        <action name="course_*" method="{1}" class="course">
            <result name="input" type="tiles"></result>
            <result type="tiles"></result>

Shouldn't returning SUCCESS from my action result in a new Action class
instance and it's dependencies being injected?  My web page is retaining the
values as if the bean in the action class was not renewed.  I don't recall
seeing this behavior before adding struts.  What steps are happening as the
request is passed to the tiles definition?


  <definition name="standard" template="/pages/base.jsp">
        <put name="title" value="Standard Title for base.jsp" />
      <put name="header" value="/pages/header.jsp" />
      <put name="navigation" value="/pages/navigation.jsp" />
      <put name="body"   value="/pages/body.jsp" />
      <put name="footer" value="/pages/footer.jsp" />

  <definition name="" extends="standard">
        <put name="title" value="Course" />
      <put name="body"  value="/pages/course.jsp" />


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message