The value for the useBean class attribute myclass is invalid

Hi to all,

I found a lot of post about the problem in the explained subject.

but I have encoutered the same problem.

So.. I declared a public empty constructor on MyClass.

In the useBean definition:

<jsp:useBean id="logon" class="MyLogon" scope="session"/>

I used "class" instead "type", because "type" return me an error of type.

MyLogn is myclass in the subject

I have apache tomcat 5.5.17 on unix SunSolaris 8

Anybodies says:

- if I have to modify something on the web.xml?

- if I have to start some servelet engine?

- if I have to start and stop tomcat?

This if my first application.

thanks in advance

Leonardo

[717 byte] By [leoroba] at [2007-10-2 23:59:07]
# 1
i say to put your bean on a package
jgalacambraa at 2007-7-14 16:46:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...
# 2
Check your directory structure .Have you placed the class file at correct location?
walter02a at 2007-7-14 16:46:15 > top of Java-index,Enterprise & Remote Computing,Web Tier APIs...