Hi,
I'm using Struts 1.1 rc1, Tomcat 4.1.18
I've written this Action class:
import java.io.*;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import
);
} else {
logger_.debug(Found );
}
Mohan
-Original Message-
From: Laurent de Menditte [mailto:[EMAIL PROTECTED]
Sent: Wednesday, March 19, 2003 4:45 PM
To: [EMAIL PROTECTED]
Subject: Problem while opening file in Action servlet
Hi,
I'm using
:23 PM
Subject: RE: Problem while opening file in Action servlet
Hi,
If your problem is that you need to check if that file is there or not
,
then this might help
if( getServlet().
getServletContext().getResourceAsStream(
resource ) == null ){
logger_.debug(Not found );
} else
3 matches
Mail list logo