Hi,

i just tried to get the example from "Struts-Framwork"
(http://jakarta.apache.org/struts/index.html) work with orion.
(it works fine with tomcat and resin)

has anyone get this to work?

in the example there is an controller-servlet which does something like
this in its init() routine (load-on-startup):
        [...]
     getServletContext().setAttribute( "org.apache.struts.action.MESSAGE" 
,application);

later in the taglib it throws an exception because an null-value in the
doStartTag() routine:         
    [...]
   MessageResources resources = (MessageResources)
      pageContext.getAttribute("org.apache.struts.action.MESSAGE", 
PageContext.APPLICATION_SCOPE);
   if (resources == null)
         throw new JspException(messages.getMessage("getMessageTag.resources",
                                            bundle));

is it possible that the code in the taglib did not get the attribute which was
set in the servlet-code?  => Orion-BUG?

thanks
  klaus

--
Klaus Thiele - Personal & Informatik AG
mailto:[EMAIL PROTECTED]

 "There's got to be more to life than compile-and-go."

Reply via email to