>I need to supply users of my Java Server Faces application with a
> unique URL so that I can identify them when they arrive at the site.
> The obvious way is with one, or in my case preferably two, GET
> parameters. How do I read those parameters? My Internet searches have
> not provided a neat answer and have indicated that the problem is
> difficult. Is there an alternative that will yield the same result?
When I google for "JSF GET", I get
http://marcchung.com/2005/01/24/performing-a-jsf-get-2/
The alternatives include: Don't use GET (use POST), or don't use JSF
(perhaps use PHP?)
- Oliver
David Segall - 11 Aug 2006 15:23 GMT
>>I need to supply users of my Java Server Faces application with a
>> unique URL so that I can identify them when they arrive at the site.
[quoted text clipped - 5 lines]
> When I google for "JSF GET", I get
>http://marcchung.com/2005/01/24/performing-a-jsf-get-2/
Many thanks for finding this for me. I don't think I found it but I
may have ignored it because I have no idea what it is doing. Could
somebody please explain at what point in the JSF cycle this code is
executed, what it does, how I ensure it is executed and how my JSF
page accesses the result.
> The alternatives include: Don't use GET (use POST)
This is the "JSF way" but I don't see how you can do something like
sending a user an email saying "click here to confirm your
registration" without using GET.
>, or don't use JSF
>(perhaps use PHP?)
I don't like to think that I have spent this much time learning Java
and JSP/JSF only to give up and use PHP :(