I've got a servlet that passes the HttpServletRequest "req" to a utility class that is to extract the parameters (using the req.getParameter( "parametername" ) method, and build an http page using those parameters. For some reason, the req object being passed is empty (or it may be that the parameters cannot be passed this way?). Can the HttpServletRequest be used outside the servlet like this?
posted 16 years ago
I don't see why not. Is the "req" inside the utility class null or just the params?
Tony Alicea Senior Java Web Application Developer, SCPJ2, SCWCD