From: Upayavira <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: Re: NULL request params when POSTing data in 2.1...
Date: Wed, 20 Aug 2003 20:44:47 +0100

Sonny Sukumar wrote:


Hey guys,


I upgraded to Cocoon 2.1 and now, when I try to fetch request params from the request using 'request.getParameter("param")', it always returns null WHEN I use action="post" instead of action="get".

I'm a serious beginner with flow, but I do know that the flow object model changed between 2.1m3 and rc1. I believe you can now do request.param to get the same thing as you wanted to do.


Does that work?

I don't know anything about flow yet, but my 'request.getParameter("param")' statements are actually in an action I wrote that does a number of things after it gets the request parameters. I'm quite baffled as to why POSTing data would stop working in any context though--whether an action or otherwise.


Any other ideas?


Regards, Upayavira



At first I thought it might have something to do with my form sending mult-part data--that is, sending regular data along with a few files from file input fields. But I commented those out and the problem stil persists as long as I'm POSTing the data.


I changed nothing at all in the code except for upgrading to 2.1. Does anybody have any idea why this would happen?

Thanks,

Sonny

_________________________________________________________________
<b>Get MSN 8</b> and enjoy automatic e-mail virus protection. http://join.msn.com/?page=features/virus



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





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


_________________________________________________________________
<b>Help protect your PC:</b> Get a free online virus scan at McAfee.com. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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



Reply via email to