Please help!
 I am using Jrun2.3.3 build 153, on jdk1.1.8 on IIS.
my jsp file---- test1.jsp :
<HTML><HEAD><TITLE>Using JavaBeans with JSP</TITLE></HEAD>
<BODY>
<jsp:useBean id="testbean" class="test1" />
<LI><jsp:setProperty name="testbean"  property="message" value="First bean"

<I><%= testbean.getMessage() %></I>
</BODY></HTML>

my class file is compiled and in /jrun/jsm-default/classes/test1.class :
  public class test1 {
    public String getMessage() {
    return(message);
  }
  public void setMessage(String message) {
    this.message = message;
  }
}
when I execute my test1.jsp, I got 500 Internal Server Error:
  com.livesoftware.scripting.CompilerException:
  Found 1 semantic error compiling
"d:/jrun/jsm-default/services/jse/servlets/jsp/test1.java":
    84. out.print("" + ( testbean.getMessage() ) );
      ** Error: "testbean" is either a misplaced package name or a
non-existent entity.

Look like It did not know the "test1.class".
In the jsp.properties file
(/jrun/js-default/services/jse/properties/jsp.property)
I had: one line as
 compiler=..\\bin\\jikesw.exe -nowarn -classpath %c -d %d %f

Can anyone tell me what is the problem?  thank you

Jason

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to