tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kailash vyas <>
Subject NoClassDefFoundError
Date Fri, 01 Jun 2001 07:14:55 GMT
hi all

i am trying to run a jsp file with a bean tag in
Apache Jserv.
i have been provided with a servlets directory and a
bean directory where the bean directory has been
included in classpath on the server.

the code for jsp file is 

<jsp:useBean id="comment" class="cal.hello"
        <jsp:setProperty name="comment" property="*"
   <b><% out.print(comment.getComment()); %></b>


the code for bean is 
package cal;
public class hello{
String comment;
 public hello() {
    comment = "comment";
  public String getComment() {
     return comment;
  public void setComment(String acomment) {
     comment = acomment;

i put the jsp file in servlets directory and the class
file in bean/cal.

i get the following error.

Exception while servicing request for

i also tried putting a jar file in bean directory and 

pls help!!!!

Do You Yahoo!?
Get personalized email addresses from Yahoo! Mail - only $35 
a year!

View raw message