tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paco Ros <p...@bergantells.net>
Subject Re: Problem with WEB-INF/classes
Date Tue, 20 Jan 2004 13:52:52 GMT
El Martes, 20 de Enero de 2004 14:37, Ben Souther escribió:
> Put you're classes in a package.

Yes. I do :-)

wanda:/opt/jakarta-tomcat-5.0.16/webapps/multimedia/WEB-INF/classes# tree
.
`-- es
    `-- uib
        `-- ein
            `-- multimedia
                |-- Base64$InputStream.class
                |-- Base64$OutputStream.class
                |-- Base64.class
                |-- Instruccio.class
                |-- Media.class
                |-- Missatge.class
                |-- Usuari.class
                `-- Xat.class

wanda:/opt/jakarta-tomcat-5.0.16/webapps/multimedia/accions# cat login.jsp
<%@page contentType="text/html"%>
<%@page import="java.util.*, es.uib.ein.multimedia" %>
<%
  Usuari usuari = new Usuari();
  usuari.setDarrerAcces(System.currentTimeMillis());
  usuari.setNom(request.getParameter("usuari"));

  if (usuari.getNom() == null) 
response.sendRedirect("/multimedia/login.html");
  else{
    Xat.afegirUsuari(usuari);
    response.sendRedirect("/multimedia/xat.html");
  }
%>

This is login.jsp output...

An error occurred at line: 2 in the jsp file: /accions/login.jsp

Generated servlet error:
    [javac] Compiling 1 source file

/opt/jakarta-tomcat-4.1.29/work/Standalone/localhost/multimedia/accions/login_jsp.java:8:

package es.uib.ein does not exist
import es.uib.ein.multimedia;

Thanks for your response.
Greetings.
-- 
Arrgg!! que metida de pata!!! Me he equivocado haciendo click!!
Perdonad las molestias.
                               .: Bulmailing :.


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


Mime
View raw message