dev@jsftemplating.java.net

Some questions on passing variables

From: Karam Singh Badesha <Karam.Badesha_at_Sun.COM>
Date: Mon, 22 Jan 2007 10:00:49 -0800

Hi,


#1:

When I have to pass some variables to the next page from an hyperlink,
how do I use them in the next page?

e.g.

page2.jsf?var1=This&var2=is&var3=a&var4=test

Do I just use them like the following:

#{requestScope.var1}
...

#2:

PageSession variables don't get passed to different pages, correct?

#3:

When I have session variables, what is the process of defining them and
using them?

Here is my understanding, please let me know something is not correct:

page1: declare session variables
page1: use session variables

page2: accept session variables
page2: use session variables

Now, if I am passing some variables with hyperlink (#1 above), session
variables will still work the way they are supopsed to, correct?

Thats it for now.

thanks
Karam