What You mean with import? I used 

        <jsp:useBean id="Partner" class="org.partneragency.web.PartnerBean" 
scope="request"
/>

but this seems to create new instance different of this in the config file.

>-- Original-Nachricht --
>Reply-To: "MyFaces Discussion" <[email protected]>
>Date: Mon, 17 Oct 2005 23:19:02 +0100
>From: Marco Mistroni <[EMAIL PROTECTED]>
>To: MyFaces Discussion <[email protected]>
>Subject: Re: Bean access in Java code
>
>
>have you imported your Partner class in the JSP?
> HTH
> marco
>
> On 10/17/05, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>
>>
>> How can I access to the Partner bean in my JSF page. Simply using Partner
>> variable
>>
>> <% if (!Partner.isLoggedIn()) { %>
>> <[EMAIL PROTECTED] file="meinlogin.jsp" %>
>> <% } %>
>>
>> generates error
>>
>> javax.servlet.ServletException: Unable to compile class for JSP
>>
>> An error occurred at line: 23 in the jsp file: /meinkonto.jsp
>> Generated servlet error:
>> Partner cannot be resolved
>>
>>
>>
>>

Reply via email to