Hello,

    I am trying to invoke the bean . I  am getting the error as

D:\edc\myserver\public_html\response.jsp(5): mybean is not defined as bean
probably occurred due to an error in
D:\edc\myserver\public_html\response.jsp line 5:
<jsp:getProperty name="mybean" property ="username" />

I created the class(which is my bean- NameHandler) and compiled.
I am setting the property as

<jsp:useBean id="mybean" scope="session" class="hello.NameHandler" />

<jsp:setProperty name="mybean" property ="username" value="pharma" />



Is anything there, I have to do define my class as bean.

Please help me out to overcome this problem

bye
kavitha

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to