loading the class of a java bean

i created a java bean. and i tried to access that java bean from a jsp file.

i used the follwing action. <jsp:useBean>

there is an exception saying the parameter provided to the attribute class is not valid. the class file of the java bean is also saved in the same location where the jsp is saved. can somebody pls tell what has gone wrong?

[366 byte] By [nadun_kandya] at [2007-11-27 2:31:26]
# 1

!: Make sure your Java Bean class is in a package.

2: Make sure the Java Bean class follows the Java Bean specifications ie a no argument constructor and public getter/setter methods

3: Place the compiled class file in the WEB-INF/classes directory under the proper package structure

4: Add the appropriate import statements to your JSP file to import the Java Bean class.

tolmanka at 2007-7-12 2:46:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...