java.lang.ClassNotFoundException: Unable to load class FaqBean
 at
org.apache.jasper.servlet.JasperLoader.findClass(JasperLoader.java:223)
 at
org.apache.jasper.servlet.JasperLoader.loadClass(JasperLoader.java:147)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:253)
 at
org.apache.jasper.compiler.BeanRepository.getBeanType(BeanRepository.java:181)

 at
org.apache.jasper.compiler.GetPropertyGenerator.generate(GetPropertyGenerator.java:99)



My FaqBean is in web-inf classes directory
also it is as the package hierarchy.
web-inf/classes/com/taglib/wdjsp/.faqtool/FaqBean.class
Would anyone ponit me anything else wrong?
thanks in advance.

package com.taglib.wdjsp.faqtool;

import java.util.Date;

public class FaqBean {
  private int id;
  private String question;
  private String answer;
  private Date lastModified;

  public FaqBean() {
    this.id = 0;
    this.question = "";
    this.answer = "";
    this.lastModified = new Date();
  }

  public void setQuestion(String question) {
    this.question = question;
    this.lastModified = new Date();
  }

  public String getQuestion() {
    return this.question;
  }

  public void setAnswer(String answer) {
    this.answer = answer;
    this.lastModified = new Date();
  }

  public String getAnswer() {
    return this.answer;
  }

  public void setID(int id) {
    this.id = id;
  }

  public int getID() {
    return this.id;
  }

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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