Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
| Search | Today's Posts | Mark Forums Read
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old November 14th, 2003, 06:42 AM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Doing ch7 would u help me out?

in correct path Book.java exists
but when i compile
i get this error.
i don;t know what is wrong
to me code seems to be correct.
plz help me out

com\wrox\library\ChildrenBook.java:3: cannot resolve symbol
symbol : class Book
location: class com.wrox.library.ChildrenBook
public class ChildrenBook extends Book {
                                  ^
1 error

### fro this line: original TechBook.java code####
package com.wrox.library;

public class TechBook extends Book {

    private String skillLevel;

    private String getSkillLevel() {
        return skillLevel;
    }
    public void setSkillLevel(String s) {
        skillLevel = s;
    }
    public TechBook(){
        super();
    }
    public TechBook(String title) {
        super(title);
    }
}

  #2 (permalink)  
Old November 18th, 2003, 09:37 PM
Registered User
 
Join Date: Nov 2003
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ipatchu
Default


Hi, Mara.

I did try it before and seems that it works for me... Let me check it out this afternoon and I will get back to you...
Fyi: You may want to try to compile all those java class concurrently - using syntax javac *.java
Thanks!


Quote:
quote:Originally posted by mara
 in correct path Book.java exists
but when i compile
i get this error.
i don;t know what is wrong
to me code seems to be correct.
plz help me out

com\wrox\library\ChildrenBook.java:3: cannot resolve symbol
symbol : class Book
location: class com.wrox.library.ChildrenBook
public class ChildrenBook extends Book {
                                 ^
1 error

### fro this line: original TechBook.java code####
package com.wrox.library;

public class TechBook extends Book {

    private String skillLevel;

    private String getSkillLevel() {
        return skillLevel;
    }
    public void setSkillLevel(String s) {
        skillLevel = s;
    }
    public TechBook(){
        super();
    }
    public TechBook(String title) {
        super(title);
    }
}



Similar Threads
Thread Thread Starter Forum Replies Last Post
Navigation - ch7. wingri BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 4 April 8th, 2008 08:29 AM
VB Ch7 p247 Try It Out Using DetailsView Rich57 BOOK: Beginning ASP.NET 2.0 BOOK VB ISBN: 978-0-7645-8850-1; C# ISBN: 978-0-470-04258-8 0 January 31st, 2008 08:38 AM
Parse error: CH7 p198 willburke BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 0 October 16th, 2004 08:07 PM
Ch7 False Value Return on BuildSQLString Function Olivia54 BOOK: Beginning Access VBA 1 July 11th, 2004 09:22 PM
CH7 - import package kizmit JSP Basics 4 June 16th, 2004 08:00 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.