Check whether your jar file has a folder harman in which you have your bean
class.
Have a nice day.
With regards,
Sachin S. Khanna.
----- Original Message -----
From: Cory L Hubert <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, December 02, 1999 1:34 AM
Subject: Newbie having trouble with Beans
> Hey. Just getting started with JSP Beans. I compiled my bean
and I put
> it in a jar file called harman. It's in my Classpath. Check out the
> following. I would appreciate it if you could help me figure out this
> problem.
>
> -- JSP FILE--
> <head>
> <title>Bean Test</title>
> </head>
>
> <body>
> <jsp:useBean id="BeanTest" scope="page" class="harman.BeanTest"/>
> <jsp:getProperty name="BeanTest" property="name"/>
> </jsp:useBean>
> Hi
> </body>
> </html>
>
>
> --- Bean ---
>
> package harman;
> import java.io.Serializable;
>
> public class BeanTest implements Serializable
> {
> private String name ="Cory L Hubert";
> private String title = "Site Developer";
> private String company = "Plumb Design";
>
> public String getName() {
> return name;
> }
>
> public String getTitle() {
> return title;
> }
>
> public String getCompany() {
> return company;
> }
> }
> ---
> What am I doing wrong
>
>
===========================================================================
> 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
>
RoltaNet mail keeps you cool, calm and connected.
===========================================================================
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