Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

[S2] Help with Templates

Hoying, Ken

2007-08-06

Replies:

I love the idea of being able to create JSP templates and reference them
with the Component tag. However, I am not sure that I am implementing
them correctly.

If I have another Struts tag in my template, such as <s:a>, then I get
errors saying that it cannot find the template in my theme and template
directory. As a result, I am forced to specify the theme and
templateDir for each Struts tag that I use in my template. Is that the
correct way to implement this or am I missing something?

Thanks in Advance,
©2008 junlu.com - Jax Systems, LLC, U.S.A.