Hi Vladimir, maybe i don't understand what you want!
Would you say that the following did not work on your system? -------------Begin JSP code---------------------------------- <%@ taglib uri="http://java.sun.com/jsf/html" prefix="h"%> <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f"%> <% session.setAttribute("test", "TestString in session"); %> <f:view> <html> <body> <h1> <h:outputText value="#{test}"/> </h1> </body> </html> </f:view> -------------End JSP code---------------------------------- Regards, Volker Vladimir Coutinho wrote: > How do I put the object disponible to JSF? I tried to put the object in > the session, but I could not access in JSF like other JSF beans. > > On 2/2/06, *Pierpaolo Follia * <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > You can get the object from the facescontext using > > FacesContext.getCurrentInstance().getExternalContext().getSessionMap().get("YOUR_OBJECT") > > bye > > > Vladimir Coutinho wrote: > >> There is a way to put this object disponible in facescontext? >> >> On 2/1/06, *Pierpaolo Follia* <[EMAIL PROTECTED] >> <mailto:[EMAIL PROTECTED]>> wrote: >> >> use an expression like >> #{sessionScope.YOUR_OBJECT_HERE.YOUR_PROPERTY_HERE} >> >> bye >> >> Vladimir Coutinho wrote: >>> How to use in a jsf page a session object created in a jsp page? >>> >>> >>> -- >>> Vladimir M Coutinho >> >> -- >> Pierpaolo Follia >> Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS) >> Telefono: +39 030 687561 >> Fax: +39 030 6875690 >> >> >> >> >> -- >> Vladimir M Coutinho > > > -- > Pierpaolo Follia > Wave S.r.l. - Vai Benaco 24/B, Bedizzole (BS) > Telefono: +39 030 687561 > Fax: +39 030 6875690 > > > > > -- > Vladimir M Coutinho -- Don't answer to From: address! Mail to this account are droped if not recieved via mailinglist. To contact me direct create the mail address by concatenating my forename to my senders domain.