You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by ramonchu <pb...@gmail.com> on 2012/05/17 15:39:03 UTC

getting the POST parameters from a third party app

Hi everybody. I'm developing a Tapestry5 app that must get the POST
parameters a third party app is sending.

I've tried almost everything:  

- onactivate with @RequestParameter parameters

- @ActivationRequestParameter Strings 

- @Inject private Request request; ...... {....
request.getParameter("param1")....}

-@Inject private HttpServletRequest httprequest;  ...... {....
httprequest.getParameter("param1")....}


Seems nothing is working. What am I doing wrong?. I know it's a very simple
question, but I'm stuck...

Thanks for your time.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/getting-the-POST-parameters-from-a-third-party-app-tp5711394.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: getting the POST parameters from a third party app

Posted by ramonchu <pb...@gmail.com>.
Hi. My problem was solved.The issue was that the third party application was
submitting the data to  instead of so no data was actually received.

Should be this considered as an error?

Thanks for the answer.

--
View this message in context: http://tapestry.1045711.n5.nabble.com/getting-the-POST-parameters-from-a-third-party-app-tp5711394p5712007.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: getting the POST parameters from a third party app

Posted by Howard Lewis Ship <hl...@gmail.com>.
Any of those should have worked; the big question is what URL did the
3rd party post to ... if that doesn't match against a Tapestry page's
URL, the page won't be activated.

On Thu, May 17, 2012 at 6:39 AM, ramonchu <pb...@gmail.com> wrote:
> Hi everybody. I'm developing a Tapestry5 app that must get the POST
> parameters a third party app is sending.
>
> I've tried almost everything:
>
> - onactivate with @RequestParameter parameters
>
> - @ActivationRequestParameter Strings
>
> - @Inject private Request request; ...... {....
> request.getParameter("param1")....}
>
> -@Inject private HttpServletRequest httprequest;  ...... {....
> httprequest.getParameter("param1")....}
>
>
> Seems nothing is working. What am I doing wrong?. I know it's a very simple
> question, but I'm stuck...
>
> Thanks for your time.
>
>
>
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/getting-the-POST-parameters-from-a-third-party-app-tp5711394.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
>



-- 
Howard M. Lewis Ship

Creator of Apache Tapestry

The source for Tapestry training, mentoring and support. Contact me to
learn how I can get you up and productive in Tapestry fast!

(971) 678-5210
http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org