Hi Yasushi,

I have some documentation on my website with visual examples of how to drag and 
drop managed bean properties and methods onto a JSP page in Dreamweaver and how 
to use JSF EL value-binding and method-binding expressions in your code. 

http://www.jsftoolbox.com/images/help/bean-drag-and-drop.gif
http://www.jsftoolbox.com/documentation/help/06-CodeView/managed-beans.jsf

The documentation also discusses some of the compatibility issues between 
JavaServer Faces and JSP technology, specifically component state management, 
and effective ways to deal with these issues in a rapid application development 
environment.

http://www.jsftoolbox.com/documentation/help/03-DevelopingWebSites/rad.jsf

Hope it helps,
Ian

-----Original Message-----
From: Yasushi Okubo <[EMAIL PROTECTED]>
Date: Wed, 24 May 2006 09:05:14 
To:MyFaces Discussion <[email protected]>
Subject: question for accessing managed bean/backing bean from jsp page

Hi experts,

I would like to access data structures defined in managed bean/backing 
bean from jsp page.  
For example, when I see myfaces file upload example, jsf page is taken a 
user to jsp page, and I would like to access managed bean from this file 
upload jsp page.
Could you someone direct me an example or explain to me how I can do that ?

So, if I have a managed/backing bean called testBean, how can I access 
it from fileupload_showing jsp ?

Thanks,
yasushi

== fileupload_showing.jsp ===
<%@ page import="java.io.File,
                 java.io.InputStream,
                 java.io.FileInputStream,
                 java.io.OutputStream"%><%@ page session="false" %><%
    String contentType = 
(String)application.getAttribute("fileupload_type");
    String fileName = (String)application.getAttribute("fileupload_name");

    String allowCache = request.getParameter("allowCache");
    String openDirectly = request.getParameter("openDirectly");

Reply via email to