I use tiles in my webapp but only to replace the deprecated struts template
methodology.

 

What I want to know is can I do define a tile.. Similar I suppose to a
taglib.

 

My jsp would look like the following

 

<tile action="/myoldstrutsaction.do">

<!-- Then place html and use beans exposed by the tile such as -->

<table>

            <for collection>

                        <tr>

                                    <td><%= Collection property %></td>

                        </tr>

            </for>

            </table>

</tile>

 

Would be interested to know what you guys and gals think.

Reply via email to