Hi Jeff, is it because name="org.apache.struts.action.MESSAGE" is the class name of the messages when you should specify the attribute name that class has been stored under? (It'll be defined as a constant somewhere but I don't know where off-hand). Keith.
--- Jeff Oberlander <[EMAIL PROTECTED]> wrote: > 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]> > __________________________________________________ Do You Yahoo!? Send FREE video emails in Yahoo! Mail! http://promo.yahoo.com/videomail/ -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>