Surprised with this behaviour. Is this a bug ?

2005-06-02 Thread nitin dubey
Hello, From a servlet deployed in tomcat I am getting the request parameter map by calling getParameterMap() then using reflection calling a Class say Sub that has a method construct(HashMap requestMap). The method is called properly but surprisingly I am getting

Re: Surprised with this behaviour. Is this a bug ?

2005-06-02 Thread Mark Leone
Not sure I follow all your explanation, and I think you haven't shown us enough of your code to know what's going on, but what is the method signature for method.invoke()? You're passing it an Object and an Object[]. The former (obj) is returned from requestMap.get(). Assuming requestMap is a