Hi,

I have this problem: from an HTML page I call a Servlet via a form like this:

<form name="richiesta" method="post" action="servletName">

<input type="hidden" name="in_file" value="00009177.doc">

...

<input type="hidden" name="port" value="8787">

</form>

In the Servlet I retrieve the parameters with request.getParameter("paramName");

With Tomcat3.x everithing goes well, but with Tomcat 4.0.3 I can't retrieve the 
parameters in the Servlet: every getParameter returns "null", and printing all with

for (Enumeration namesList = request.getParameterNames(); namesList.hasMoreElements();)

{

String curName =(String)namesList.nextElement();

System.out.println("Param "+curName+" value: '"+request.getParameter(curName)+"'");

}

prints nothing!

I really can't figure out where to look for a solution. Any help is welcome!

-- Ivan Venuti --

Reply via email to