JSF GET parameters or substitute

D

David Segall

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?
 
O

Oliver Wong

David Segall said:
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
 
D

David Segall

Oliver Wong said:
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 :(
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top