Tried your files in Tomcat 3.3 and Tomcat 3.2.3 as described
and they worked fine for me.  Please supply more of the error
message that gives what the compile error was.

Larry

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Friday, August 10, 2001 12:33 PM
> To: [EMAIL PROTECTED]
> Subject: Unable to compile class for JSP
> 
> 
> BeanTest.jsp
> ============
> <jsp:useBean id="test" class="SimpleBean" />
> <jsp:setProperty name="test" property="message" value="Hello WWW" />
> <H1>Message: <I><jsp:getProperty name="test" property="message"
> /></I></H1>
> 
> 
> SimpleBean.java
> ===============
> public class SimpleBean {
>   private String message = "No message specified";
>   public String getMessage() {
>     return(message);
>   }
>   public void setMessage(String message) {
>     this.message = message;
>   }
> }
> 
> ---------------------------------------------
> 
> I've got 'BeanTest.jsp' on 'webapps/ROOT', and 'SimpleBean.java' and
> 'SimpleBean.class' on 'webapps/ROOT/WEB-INF/classes'.
> 
> But I get this message:
> 
> org.apache.jasper.JasperException: Unable to compile class for JSP
> 
> What am I doing wrong?
> 
> 
> ---------------------------------------------------------
> This mail was sent through Eoffice: http://www.eoffice.dk
> 

Reply via email to