Your Login.class file should be in your WEB-INF/classes/misitio/beans
directory.   This path doesn't need to be specified in the classpath.

In you Login java file you need the statement:   package misitio.beans;

In your JSP page you should have   <%@ page import="misitio.beans" %>


HTH

Denise Mangano
Help Desk Analyst
Complus Data Innovations, Inc.


-----Original Message-----
From: x x [mailto:[EMAIL PROTECTED]] 
Sent: Thursday, February 06, 2003 2:14 PM
To: Tomcat Users List
Subject: cant run jsp in Tomcat



 I run Tomcat 4.1.18 running in a  linux Mandrake
 8.2,
 i want to run a jsp that import a javabean from
 another directory. When i run my jsp i saw this
 messages
 
  The server encountered an internal error () that
 prevented it from fulfilling this request.
 
 exception
 
 org.apache.jasper.JasperException: No se puede
> compilar la clase para JSP
> 
> An error occurred at line: 0 in the jsp file: /iata/veri_usr.jsp
> 
> Generated servlet error:
>     [javac] Compiling 1 source file
> 
>
/usr/local/jakarta-tomcat-4.1.18/work/Standalone/localhost/_/iata/veri_usr_j
sp.java:41:
> package misitio.beans does not exist
>       misitio.beans.Login login = null;
>                    
> 
> 
> I put im my profile this CLASSPATH
> 
> CLASSPAT=.:$JAVA_HOME/lib/tools.jar:/java
> export CLASSPATH
> 
> where /java its the directory where i have
> mistio/beans that correspond to the packet
> mistio.beans where i have the Login.class
> 
> 
> Fabian
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 


__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to