RE: [Actionframework-users] finding ActionConfig via getRealPath
Status: Inactive
Brought to you by:
ptoman
From: Petr T. <cz5...@ti...> - 2002-09-16 07:11:36
|
>ActionServlet will attempt to load as File (relying on current directory= ), >and then will attempt servlet.getClass().getResource("/" + f) (relying on >classloader). >WEB-INF/classes will only work if the servlet instance >has a class loader from this webapp, which is not reliable (if for examp= le >the app is using ActionServlet directly and not a subclass). >I have a patch below to ActionRuntime.java to make it attempt a getRealP= ath >also. > >Here is a patch to ActionRuntime.java to make it do a getRealPath as wel= l, Good idea. Thanks for the patch (will be in the next releese)! Petr [ http://dione.zcu.cz/~toman40 - Pet...@pi... - ICQ=3D22957959 ] _________________________________________________________________ Chcete v=ECd=ECt jak=E9 to je m=EDt =B9est jazyk=F9? Zkuste to na http://= slovnik.tiscali.cz |