backing bean question
Hi,
1) I have a jsf accplication with several jsp pages and navigation from one page to other. Can i have multiple jsp pages using same backing bean or each should have their own backing bean ?I am using session scope.
2) Is there a way to pass parameters from one backing bean to another?
Basically i have to pass several values from one page to another ? I know i can use param tag but not sure if i can have multple param tags?
3) I am using only one session facade. Can all backing beans call same session facade?
Thanks,
kal..
[575 byte] By [
kal132a] at [2007-11-27 4:52:25]

# 1
> 1) I have a jsf accplication with several jsp pages
> and navigation from one page to other. Can i have
> multiple jsp pages using same backing bean or each
> should have their own backing bean ?I am using
> session scope.
You can. But if the managed bean is not request scoped, then the data will be shared among the pages.
> 2) Is there a way to pass parameters from one backing
> bean to another?
> Basically i have to pass several values from one page
> to another ? I know i can use param tag but not sure
> if i can have multple param tags?
See http://balusc.xs4all.nl/srv/dev-jep-com.html for several ways.
> 3) I am using only one session facade. Can all
> backing beans call same session facade?
There it is for. Or do you mean something else with 'session facade'?