Thread: Beginning JSP
View Single Post
  #1 (permalink)  
Old March 29th, 2004, 08:29 PM
colin2455 colin2455 is offline
Registered User
 
Join Date: Mar 2004
Location: , , United Kingdom.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Beginning JSP

Hi,

In the early stages of this book and been through the code on page 78 countless times but can't make it work - the compiler keeps giving the error "Exception in thread "main" no class found error..

The code was entered as follows:-

package com.wrox.cars;

import java.io.Serializable;

public class CarBean implements Serializable {

    public CarBean(){
    }

    private String make = "Ford";

    public String getMake() {

    return make;

    }

    public void setMake(String make) {

    this.make=make;
    }

}

Can anyone tell me where I have gone wrong. I would also like to know where the code is for Beginning JSP since I couldn't find it anywhere on this site.

Thanks
Colin