RE: getServletContext().getRealPath() bug?

2000-11-02 Thread Mark Delanoy
Yes we see this too and have since I think 1.3.8. It compiles but does have a runtime exception, e.g. can't find the method. So we're doing hacks now using relative paths to figure out where we are. Basically ever since the experimental 2.3 servlet and jsp stuff it seems to have disappeared.

Re: getServletContext().getRealPath() bug?

2000-11-02 Thread Christian Sell
I dont see a direct contradiction with the API docs. The example that is given there prepends the file name with a "/", which also makes more sense (relative to what should "test.xml" be interpreted?). The implementation of obviously simply prepends the deployment path of the context.

RE: getServletContext().getRealPath() bug?

2000-11-02 Thread Matt Krevs
this isnt the behaviour I get in Orion 1.4.0 I get c:\projects\leadsdb\deploy\web\test.xml when I call this.getServletContext().getRealPath("test.xml"); or when I call this.getServletCOnfig().getServletContext().getRealPath("test.xml"); I think you may have something setup incorrectly in