YEah it's strange

what even more strange, is that I do exactley the same thing in a number of
other pages, and it works fine.

In fact this page used to work also.

My Struts version hasn't changed, only the Tomcat Version.

Will keep battling on, hopefully I will find the problem. Will probably
ending kicking myself because of it's simplicity

Tnaks Anyway
----- Original Message -----
From: "Andrew Hill" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Wednesday, September 25, 2002 3:53 PM
Subject: RE: form submission problem


> Is it a multipart form (multipart/form-data encoding) and the associated
> action in which you are trying to read that parameter does not have an
> ActionForm associated with it?
> (Though I dont think thats your problem as in that situation you get a
null
> and not an empty string)
> Hmmm...
>
> -----Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 13:48
> To: Struts Users Mailing List
> Subject: RE: form submission problem
>
>
> Oops. Sorry mate!
> Just read it a second time and realised I didnt pay enough attention!
> "The tags are placed properly withink the form tags."
>
> -----Original Message-----
> From: Andrew Hill [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 13:42
> To: Struts Users Mailing List
> Subject: RE: form submission problem
>
>
> Is that field located within the start and close of the form tag on the
> page?
>
> btw: naming your field "action" is naughty as it will shadow the action
> property of the form object in JavaScript. (Though this wont hurt unless
you
> try accessing (for example to change) the form action in javascript - at
> which point it will give you your field action instead of the form
property
> action!)
>
>
> -----Original Message-----
> From: Steve Vanspall [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, September 25, 2002 13:35
> To: Struts User Mailing List
> Subject: form submission problem
>
>
> Hi,
>
> I have a fairly new problem with one of my JSP's.
>
> I recently changed to Tomcat 4.1.10, now all of a sudden, this one page
> doesn't work properly.
>
> I try, using Javacript to set the value of a hidden <input type="hidden"
> name="action"> field when an <input type="image"> button is pushed, this
> part works fine, have checked the value after it is set.
>
> However it is not passing the value through to the request. Instead when I
> do a request.getParameter("action") all I get is a blank String.
>
> All my other pages that do this, are working fine. The tags are placed
> properly withink the form tags.
>
> Has anyone else has a similar problem with just one page.
>
> Any help would be appreciated
>
> Regards
>
> Steve
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
> <mailto:[EMAIL PROTECTED]>
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to