Dynamically Creating PDFs in a Web Application
Subject:   getParameterMap problem
Date:   2004-02-25 09:54:19
From:   cameronp
I get the following error when compiling the java example code for using itext in a web application via a servlet

the method getParameterMap() is undefined for the type javax.servlet.http.HttpServletRequest

Here is the method code from the PDFServlet Class
protected Element makeHTTPParameterInfoElement(
final HttpServletRequest req)
Map mapParameters = null;

mapParameters = new java.util.TreeMap(req.getParameterMap());

Table tab = null;

tab = makeTableFromMap(
"HTTP parameter name",
"HTTP parameter value",

return (Element) tab;

Full Threads Oldest First

Showing messages 1 through 1 of 1.

  • getParameterMap problem, me too
    2004-04-27 06:50:37  illuminers [View]

    i got the same problem too,
    can anyone help me ?
    currently i'm using WebSphere 4 , not Tomcat,
    could it be the problem ?

    one thing , i'm a beginner programmer, be patience with me... : )