This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes JSP and the fly likes how to access managed bean (JSF) from JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » JSP
Reply locked New topic
Author

how to access managed bean (JSF) from JSP

Yasushi Okubo
Greenhorn

Joined: Jan 28, 2005
Posts: 9
Hi, experts

I need to access properties like list etc initilalized in a managed bean (JSF): testBean from scriptlet section: <%>...</%> on JSP page.

TestBean has been defined in my face-config.xml as a session bean:

<managed-bean>
<managed-bean-name>testBean</managed-bean-name>
<managed-bean-class>org.test.TestBean</managed-bean-class>
<managed-bean-scope>session</managed-bean-scope>
</managed-bean>

Is it possible to do so ? If so, please advsie me how to do so.

Thanks,
yasushi

Thanks,
yasushi
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 56191
    
  13

Please do not cross-post the same question in multiple forums. It wastes people's time when multiple redundant conversations take place.


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: how to access managed bean (JSF) from JSP
 
Similar Threads
Accessing jsf bean from another jsf bean
is there a mayor change on how to use faces-config.xml on JSF 2.0
How to access managed bean (JSF) from JSP
Extracting data from a bean
Accessing JSF sesson bean from a servlet