I was thinking the same thing as Jon (however, I do not know anything
specifically about that tag).  Try to remove that atrribute from the form
tag and see if it still happens.

On 6/7/06, Jon Wingfield <[EMAIL PROTECTED]> wrote:

What happens when you remove the enctype attribute from your form?

The enctype you specified is for binary uploads. Tomcat doesn't
automatically parse the http inputstream for parameters for this content
type.

HTH,

Jon

Oliver Enders wrote:
> Browser is IE6.0, here´s the code:
>
> <%
> String m = request.getParameter("m");
> String flf = request.getParameter("flf");
> String modeDisp = "Display";
>
> if(flf == null){
>  flf = "1";
> }
>
> if(m != null){
>  if(m.equalsIgnoreCase("c")) {
>    modeDisp = "Create";
>  } else if (m.equalsIgnoreCase("m")) {
>    modeDisp = "Modify";
>  } else if (m.equalsIgnoreCase("d")) {
>    modeDisp = "Delete";
>  } else {
>    modeDisp = "Display";
>  }
> }
>
> %>
> <html>
> <head>
>  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"
/>
>  <link rel="stylesheet" type="text/css" href="inc/eod.css">
>  <title><%=modeDisp%> Test Request</title>
> </head>
> <body>
>  m: <%=m%><BR>
>  flf: <%=flf%><BR>
>  <%
>  Enumeration enumeration = request.getParameterNames();
>   while (enumeration.hasMoreElements()) {
>      String name = (String)enumeration.nextElement();
>      %>
>      Feld: <%=name%> <BR>
>      <%
>   }
>   %>
>  <table class="tab1" cellspacing="0" cellpadding="0">
>    <tr class="zeile_header">
>        <td class="standardHeader" colspan="3"><%=modeDisp%> Test Request
> (<%=m%>)</td>
>    </tr>
>    <%
>    if(flf.equals("1")){
>    %>
>     <form name="HandleTR" action="HandleTest.jsp" method="post"
> enctype="multipart/form-data">
>       <tr><td colspan="3">fl <input type="submit" value="go!"></td></tr>
>       <input type="hidden" name="flf" value="0">
>       <input type="hidden" name="m" value="<%=m%>">
>     </form>
>    <%
>    } else {
>    %>
>      <tr><td colspan="3">kein fl</td></tr>
>    <%
>    }
>    %>
>  </table>
> </body>
> </html>
>
> The pages is submitted to itself.  flf is used to define two different
> contents.
>
> Thanx in advance
> Ön
>
> ----- Original Message ----- From: "Marc Farrow" <[EMAIL PROTECTED]>
> To: "Tomcat Users List" <users@tomcat.apache.org>
> Sent: Wednesday, June 07, 2006 4:25 PM
> Subject: Re: Fw: POST-Data from Form can not be read-out
>
>
>> This could be any number of issues from browser bugs on.  What browser
>> are
>> you using?  Also, can you post the rendered HTML page that is
>> submitting the
>> request to the servlet?
>>
>>
>>
>>
>> On 6/7/06, Oliver Enders <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>>
>>>
>>> Hy List,
>>>
>>> I have a problem concerning submitting form-data by using POST.
>>>
>>> If I send the form using GET, the content of the form can be read out
>>> using:
>>>
>>> request.getParameter("xyz");
>>>
>>> If I change to POST,  the parameters can not be read out.
>>>
>>> I´m using am Tomcat 4.1.
>>>
>>> Any Ideas ? Suggestions ?
>>>
>>> Thanx in advance
>>> Ön
>>>
>>
>>
>>
>> --
>> Marc Farrow
>>
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>



---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
Marc Farrow

Reply via email to