Hello Everyone,.
This is an example in Sun's JSP tutorial, a jsp
file: hellouser.jsp, it uses a JavaBean component
like this:
<jsp:useBean id="mybean" scope="page"
class="hello.NameHandler" />
<jsp:setProperty name="mybean" property="*" .>
.....
This file includes another jsp file: response.jsp,
which accesses the same JavaBean "mybean" in a way
like this:
<jsp:getProperty name="mybean"
property="username"/>
When I browse the hellouser.jsp page on the browser,
it gives me an error:
response.jsp(8): mybean is not defined as bean in
response.jsp.
Can anybody tell me how to fix this? By the
way, I'm not using Sun's JSWDK, I'm using WebLogic
4.5, which claims to support JSP 1.0.
Thanks a lot,
--Lan
>
>
>
>
__________________________________________________
Do You Yahoo!?
Thousands of Stores. Millions of Products. All in one place.
Yahoo! Shopping: http://shopping.yahoo.com
===========================================================================
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