Hi!
    I am new to using Java Beans in JSP. I have the following line of code
for the Bean instantiation

<jsp:useBean id="mybean" scope="session" class="Bean1" />

and am trying to get a property Sample on the bean. For this I tried

<%
mybean.getSample();
%>

Doesn't seem to work! Has anyone faced this problem? Also, when I try to add
the page directive at the top,
<%@ page import="java.util.*, java.lang.*" %>

it gives me,

Error getting compiled page.
1,11: Attribute page has no value.

Can someone tell me what is it that I am doing wrong. I am using Netscape
Enterprise Edition 3.61 as my WebServer and Websphere 2.0.3 as my
Application Server.

Thanks for you time.

Vinay

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to