Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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);
    }
}

Reply With Quote
  #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);
    }
}

Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 05:44 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.