views:

48

answers:

0

I use Sitemesh as template engine with Struts2. In my decorator jsp file, I use for division content source. Now I encounter a problem that if an action has an action error, there will be a "input" result used. It will cause all in decorator JSP file also execute input result directly. That's means method won't be called.

How do I make execute its action method no matter its outer action's result when using sitemesh together?