aspose file tools
The moose likes JSF and the fly likes JSF bean access in Java code Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Java » JSF
Reply Bookmark "JSF bean access in Java code" Watch "JSF bean access in Java code" New topic
Author

JSF bean access in Java code

Urs Wagner
Greenhorn

Joined: Sep 01, 2005
Posts: 9
Hello

How can I access the JSF bean in the <% Java code %> section in the JSP file?
Sergey Smirnov
Ranch Hand

Joined: May 29, 2003
Posts: 167
The same way You can get it from the regular java code. Use Value Binding or Variable resolver.
Take a look for the code snippets at:
http://jsffaq.com/Wiki.jsp?page=HowToAccessOneManagedBeanFromAnotherManagedBean

--
Sergey : http://jsfTutorials.net
[ October 18, 2005: Message edited by: Sergey Smirnov ]
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: JSF bean access in Java code
 
Similar Threads
Where is doGet() in JSF?
f:selectItems and List - managed property
send json object to jsf backing bean
solve it
how to passing parameters to managed beans?