StrutsNewbie wrote:
> 
> 
> Hi all,
> 
> I have multiple web applications following the struts framework. I have
> certain common components that are used in all these web applications. I
> have kept the common components as a struts plugin in each web
> application's WEB-INF/lib folder. My plugin is accessing a taglib in
> another jar file. This jar file is also placed inside WEB-INF/lib of each
> web application. But the problem is that when I try to access the taglib
> through a freemarker template, it is giving the following exception:
> 
> Could not find webapp resource /my-tags
> The problematic instruction:
> ----------
> ==> assignment: t=JspTaglibs["/my-tags"]
> 
> The .ftl file is placed inside my plugin jar.
> 
> Please give your valuable suggestions on this. 
> 
> 

Do I need to add an entry in struts-plugin.xml similar to the one below to
solve this?
<bean type="org.apache.struts2.views.TagLibrary" name="my-tags"
class="MyTagLibrary" />


If so, what are the steps I should follow in writing this class?
-- 
View this message in context: 
http://www.nabble.com/Struts-Plugin-and-Taglib-reference-tp15711425p15730269.html
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to