ONJava.com -- The Independent Source for Enterprise Java
oreilly.comSafari Books Online.Conferences.


AddThis Social Bookmark Button
  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;

1 to 1 of 1
  1. getParameterMap problem, me too
    2004-04-27 06:50:37  illuminers [View]

1 to 1 of 1