Hello again,

once more again...

> > > i just tried to get the example from "Struts-Framwork" to work with orion.
> > > has anyone get this to work?
> 
> whoow!! now i got it work out of the box (the last nightly build 20000625)!

the DatabaseServlet.java...
... sometimes it works, sometimes not... ;)

after changing:
  private String pathname() { 
    if (this.pathname != null) 
       return (this.pathname); 
    else 
        return (getServletContext().getRealPath("/") + 
                "/WEB-INF/database.xml"); 
    } 
to:
   private String pathname() { 
      if (this.pathname != null)
         return (this.pathname);
      } else {
          this.pathname = getServletContext().getRealPath("/") + 
                "WEB-INF/database.xml";
          return this.pathname;
      }
   } 

it seems to work with both - orion and tomcat.

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