I am seeing conflicting behavior with application resources. This is basic
stuff, but I haven't found an answer in the archives.

First, in my index.jsp I can do the following:

<bean:message key="test.message"/>

It successfully displays my test text message from my ApplicationResources
file.

But, when I also try to execute the logic:notPresent code as given in the
example:

  <logic:notPresent name="org.apache.struts.action.MESSAGE"
scope="application">
  <font color="red">
    ERROR:  Application resources not loaded -- check servlet container
    logs for error messages.
  </font>
</logic:notPresent>

It results in displaying the red "not loaded" message.

How can it be that this logic:notPresent thinks the resources aren't there,
but the bean:message can retrieve them just fine?

Thanks much

Jeff






http://www.xns.org/=jeffoberlander 

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

Reply via email to