users@glassfish.java.net

Re: Simple JSP Beans don't work with Glassfish

From: Jan Luehe <Jan.Luehe_at_Sun.COM>
Date: Mon, 10 Apr 2006 16:18:35 -0700

Hi Malachi,

Carla Mott wrote On 04/10/06 13:12,:

> Hi Malachi,
>
> I'm posting this on the users alias as that is more appropriate for
> this type of question.
>
> Carla
>
>
> Malachi de Ælfweald wrote:
>
>> I was trying the tutorial here: http://www.jsptut.com/Forms.jsp
>>
>> When it failed due to being unable to locate the UserData.class (in
>> same directory as the .jsp files), I went into the admin console and
>> added that directory to the classpath suffix, and restarted the server.
>>
>> Checking java.class.path from within a JSP shows that the directory
>> is in fact listed, but it is not able to be located. Best guess is
>> that glassfish is unable to load .class files from the classpath and
>> is only loading jars.
>>
>> After about 2 hours trying to get this resolved, I have to move on
>> and just assume that Glassfish is incapable of doing it.
>
sorry about that!

Can you send us the detailed error message (which includes the JSP
compilation classpath)
from your logs?

Thanks,

Jan

>>
>>
>> Malachi
>
>
>