Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / August 2006

Tip: Looking for answers? Try searching our database.

JSF GET parameters or substitute

Thread view: 
David Segall - 10 Aug 2006 14:41 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.
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?
Oliver Wong - 10 Aug 2006 16:11 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.
> 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 :(


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.