tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Reche Martinez" <>
Subject Re: Tomcat/Java compiler error
Date Thu, 29 May 2003 07:13:26 GMT
Yeeeeeahhhh !!!

It's Right !! Thank you very much.

But why in older versions was not necessary and now is mandatory?

----- Original Message -----
From: "Shapira, Yoav" <>
To: "Tomcat Users List" <>
Sent: Wednesday, May 28, 2003 6:27 PM
Subject: RE: Tomcat/Java compiler error

UserBean needs to be in a package.  See

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: David Reche Martinez []
>Sent: Wednesday, May 28, 2003 12:12 PM
>Subject: Tomcat/Java compiler error
>Hi all,
>I have tomcat-4.1.24 and I'm trying to test a very simple jsp that use a
>** -- HolaMundo.jsp
><%@ page language="java"  %>
><%@ page import="UserBean" %>
><jsp:useBean id="usr" scope="page" class="UserBean">
>  <jsp:setProperty name="usr" property="login"    value="pepe" />
>  <jsp:setProperty name="usr" property="password" value="epep" />
>  <head>
>    <title>&iexcl;Hola Mundo!</title>
>  </head>
>  <body>
>    <h1>&iexcl;Hola <jsp:getProperty name="usr" property="login" />!</h1>
>  </body>
>I follow the directory hierarchy that is explained in the helps docs
>(WEB-INF/classes) but when I try to execute the jsp through the navigator I
>have this error:
>org.apache.jasper.JasperException: No se puede compilar la clase para JSP
>An error occurred at line: -1 in the jsp file: null
>Generated servlet error:
>    [javac] Since fork is true, ignoring compiler setting.
>    [javac] Compiling 1 source file
>    [javac] Since fork is true, ignoring compiler setting.
>    [javac]
>: '.' expected
>    [javac] import UserBean;
>    [javac]                   ^
>    [javac] 1 error
>Can anybody help me?
>Thank you
>David Reche Martínez
>To unsubscribe, e-mail:
>For additional commands, e-mail:

This e-mail, including any attachments, is a confidential business
communication, and may contain information that is confidential, proprietary
and/or privileged.  This e-mail is intended only for the individual(s) to
whom it is addressed, and may not be saved, copied, printed, disclosed or
used by anyone else.  If you are not the(an) intended recipient, please
immediately delete this e-mail from your computer system and notify the
sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message