Thats the one. action.xml can't reside in WEB-INF in Orion just
yet..hopefully soon they will remedy this problem.


> -----Original Message-----
> From: Klaus Thiele [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 26, 2000 6:45 AM
> To: Struts User; Orion Interest
> Subject: Re: Struts and orion
>
>
> Hello 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)!
>
> i have deployed in following directory structure:
>   /opt/orion
>           +- struts
>                  +- struts-example
>
> server.xml:
>  <application name="struts" path="../struts" />
>
> default-web-site.xml:
>  <web-app application="struts" name="struts-example"
> root="/struts-example" /
>
> BUT because of the failing of
>  InputStream input = getServletContext().getResourceAsStream(config);
>
> i put this log-message in "ActionServlet.java":
>   log("RealPath: " + getServletContext().getRealPath(config));
>
> and - *Oops* - it shows
>     "RealPath: /opt/orion/struts/struts-example/action.xml"
> and _NOT_ the expected
> "/opt/orion/struts/struts-example/WEB-INF/action.xml"
>
> so i placed "action.xml" one path up and it works fine!
>
> is this an orion-bug? or did i'm missing something?
>
> thanks a lot
>    klaus
>
> PS: Philip, thanks. the Database-stuff works also now out-of-the-box
>
> --
> Klaus Thiele - Personal & Informatik AG
> mailto:[EMAIL PROTECTED]
>
>  "There's got to be more to life than compile-and-go."
>


Reply via email to