Hi there,

I have my own tag (extending BodyTagSupport) in which I do the following:

<code>
ResourceBundle resources = ResourceBundle.getBundle("application");
out.print(resources.getString("key"));
</code>

This works great ... most of the time. However, the moment I put this tag
into another tag that I wrote (a Data Table Tag - extending LoopTagSupport)
I get the following exception(below). For some reason it seems to find the "
application.properties" resource file when my tag is on its own somewhere on
the JSP, but when I try to use it in another tag, it doesn't work. Any
ideas?

Much appreciated.

Marius Botha

Exception:
java.util.MissingResourceException: Can't find resource for bundle
java.util.PropertyResourceBundle, key
java.util.ResourceBundle.getObject(ResourceBundle.java:326)
java.util.ResourceBundle.getString(ResourceBundle.java:286)
com.workpool.struts.component.html.MessageTag.doEndTag(MessageTag.java:32)

Reply via email to