One request per session

2005-03-22 Thread Brij Naald
Hi, i'm trying to test a locking system for servlets. I've made a chain of servlets which include each other: Servlet1 -- Servlet2 -- Servlet3 When Thread1 is in Servlet2, it puts a lock on Servlet1. That way if there is a new Request, this request (on thread2) wants to start with servlet1.

Filter/...

2004-12-04 Thread Brij Naald
Hi, I need to run a class everytime before a servlet is started. One option is to make a filter, the problem here is that a filter doesn't get called when a servlet is invoked via the requestDispatcher. Is there another solution for this problem?

RE: Filter/...

2004-12-04 Thread Brij Naald
Hi, you indeed didn't the question :-) (but still, thanks for answering!) The problem is as follows: I'm making a plugin which puts a wrapper around the request of a servlet. A servlet gets invoked by: doGet(HttpServletRequest request, HttpServletResponse response) What I want to do now is to put

classpath of a filter

2004-11-26 Thread Brij Naald
Hi, i'm creating a filter which needs to know if the request is an instance of org.apache.catalina.connector.RequestFacade. When executing the 'if (request instanceof RequestFacade)' the program gives an error for that line: java.lang.NoClassDefFoundError:

web.xml / struts-config.xml

2004-11-25 Thread Brij Naald
Hi is it possible for a filter,a servlet or just another class on the server to get to the web.xml file? Thanks! _ Kies nu de Site Van Het Jaar en win prachtige prijzen! http://www.sitevanhetjaar.be/