You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-user@portals.apache.org by Vincent Bonamy <vi...@geomath.fr> on 2001/08/17 11:48:19 UTC

compile jsp: can't access a class

Hello,

I have a little pb:

I create a jsp which don't use the jetspeed portail: its name is
login.jsp.
(its goal is to log user to jetspeed)
login.jsp use a class Log.class.

I put Log.class in jetspeed/WEB-INF/classes directory.
I put login.jsp in jetspeed/login directory (login is a directory that I
create).

When I load login.jsp, there is an internal Servlet Error:
Can't access class Log.
import Log;
              ^
 1 error

But if I put login.jsp directly in jetspeed directory, it's working.

Why?  Does somebody explain me please ?

Thanks,

vincent.



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


Re: compile jsp: can't access a class

Posted by Vincent Bonamy <vi...@geomath.fr>.
Hum  ... sorry,
I didn't declare my class Log PUBLIC !

bye

vincent.



Vincent Bonamy wrote:

> Hello,
>
> I have a little pb:
>
> I create a jsp which don't use the jetspeed portail: its name is
> login.jsp.
> (its goal is to log user to jetspeed)
> login.jsp use a class Log.class.
>
> I put Log.class in jetspeed/WEB-INF/classes directory.
> I put login.jsp in jetspeed/login directory (login is a directory that I
> create).
>
> When I load login.jsp, there is an internal Servlet Error:
> Can't access class Log.
> import Log;
>               ^
>  1 error
>
> But if I put login.jsp directly in jetspeed directory, it's working.
>
> Why?  Does somebody explain me please ?
>
> Thanks,
>
> vincent.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jetspeed-user-help@jakarta.apache.org