You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Nick Heudecker <nh...@gmail.com> on 2005/12/01 16:52:11 UTC

DispatchAction parameter getting dropped by IE

Occasionally, one my my users will receive the following error message:

"javax.servlet.ServletException: Request[/foo] does not contain handler
parameter named 'p'.  This may be caused by whitespace in the label text."

There isn't any whitespace in the label text, and this only occurs
with IE.  It's like none of the form properties are submitted.  Has
anyone else experienced this and discovered a solution?

Thanks.

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: DispatchAction parameter getting dropped by IE

Posted by Nick Heudecker <nh...@gmail.com>.
I found this link
(http://www.crazysquirrel.com/computing/general/form-encoding.jspx)
and, after adding the accept-charset and the hidden field, it fixed
it.


On 12/1/05, Frank W. Zammetti <fz...@omnytex.com> wrote:
> I've seen sporadic problems along these lines over the past two years with
> an app I have, and it's an IE-only app.  I've never been able to track it
> down, but it's been fairly rare so I haven't gone nuts trying either :)
>
> Same kind of symptoms though... logs seem to indicate request parameters
> were not present in the Action, but based on how the app works that should
> be an impossibility.
>
> If you figure it out, let me know, I'd be very thankful! :)
>
> --
> Frank W. Zammetti
> Founder and Chief Software Architect
> Omnytex Technologies
> http://www.omnytex.com
> AIM: fzammetti
> Yahoo: fzammetti
> MSN: fzammetti@hotmail.com
>
> On Thu, December 1, 2005 12:45 pm, Nick Heudecker said:
> > Now I'm thinking this has something to do with the charset not getting
> > set in IE.  Users are copying and pasting content from Word into
> > textareas and getting this error.
> >
> > Is it possible Tomcat can't parse the incoming form data and nothing
> > gets passed to the Action?
> >
> > On 12/1/05, Nick Heudecker <nh...@gmail.com> wrote:
> >> Occasionally, one my my users will receive the following error message:
> >>
> >> "javax.servlet.ServletException: Request[/foo] does not contain handler
> >> parameter named 'p'.  This may be caused by whitespace in the label
> >> text."
> >>
> >> There isn't any whitespace in the label text, and this only occurs
> >> with IE.  It's like none of the form properties are submitted.  Has
> >> anyone else experienced this and discovered a solution?
> >>
> >> Thanks.
> >>
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> > For additional commands, e-mail: user-help@struts.apache.org
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: DispatchAction parameter getting dropped by IE

Posted by "Frank W. Zammetti" <fz...@omnytex.com>.
I've seen sporadic problems along these lines over the past two years with
an app I have, and it's an IE-only app.  I've never been able to track it
down, but it's been fairly rare so I haven't gone nuts trying either :)

Same kind of symptoms though... logs seem to indicate request parameters
were not present in the Action, but based on how the app works that should
be an impossibility.

If you figure it out, let me know, I'd be very thankful! :)

-- 
Frank W. Zammetti
Founder and Chief Software Architect
Omnytex Technologies
http://www.omnytex.com
AIM: fzammetti
Yahoo: fzammetti
MSN: fzammetti@hotmail.com

On Thu, December 1, 2005 12:45 pm, Nick Heudecker said:
> Now I'm thinking this has something to do with the charset not getting
> set in IE.  Users are copying and pasting content from Word into
> textareas and getting this error.
>
> Is it possible Tomcat can't parse the incoming form data and nothing
> gets passed to the Action?
>
> On 12/1/05, Nick Heudecker <nh...@gmail.com> wrote:
>> Occasionally, one my my users will receive the following error message:
>>
>> "javax.servlet.ServletException: Request[/foo] does not contain handler
>> parameter named 'p'.  This may be caused by whitespace in the label
>> text."
>>
>> There isn't any whitespace in the label text, and this only occurs
>> with IE.  It's like none of the form properties are submitted.  Has
>> anyone else experienced this and discovered a solution?
>>
>> Thanks.
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Re: DispatchAction parameter getting dropped by IE

Posted by Nick Heudecker <nh...@gmail.com>.
Now I'm thinking this has something to do with the charset not getting
set in IE.  Users are copying and pasting content from Word into
textareas and getting this error.

Is it possible Tomcat can't parse the incoming form data and nothing
gets passed to the Action?

On 12/1/05, Nick Heudecker <nh...@gmail.com> wrote:
> Occasionally, one my my users will receive the following error message:
>
> "javax.servlet.ServletException: Request[/foo] does not contain handler
> parameter named 'p'.  This may be caused by whitespace in the label text."
>
> There isn't any whitespace in the label text, and this only occurs
> with IE.  It's like none of the form properties are submitted.  Has
> anyone else experienced this and discovered a solution?
>
> Thanks.
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org