On Thursday 16 January 2003 11:44 am, Laurent For�t wrote:
> Un println de getServletConfig().getServletContext().getRealPath("/");
> permettrait de savoir o� il se positionne.

�a me retourne null !!!


> Laurent.
>
> ----- Original Message -----
> From: "Fr�d�ric Laurent" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, January 16, 2003 11:32 AM
> Subject: tomcat vs weblogic
>
> > bonjour
> >
> > j'ai un comportement bizarre avec une appli d�ploy�e sous weblogic
> > dans mon fichier war, j'ai un r�pertoire index (/WEB-INF/index)
> > Pour y acceder, je fais
> >
> > getServletConfig().getServletContext().getRealPath("/WEB-INF/index")
> >
> > c'est ok avec tomcat (jdk 1.2 et 1.3, tomcat 3.3 ou 4.1)
> >
> > par contre weblogic (7.1) me retourne null !!!!
> >
> > pourquoi tant de haine ?
> > j'ai gour� ?
> >
> > merci d'avance
> >

-- 
Fr�d�ric Laurent
http://www.opikanoba.org

Répondre à