Hi!

I am posting this mail again, because I got response-mail that my mail
was not delivered. I guess this really happened, because noone replied
on this mail  so far. I apologize if my mail was sent already.

Branko
--
Hi all!

Could someone tell me, where I got wrong? All that I get from server is
the same page, as it is written in
test5.jsp. I tested scriptlets before and they worked, so I suggest that
the server is correctly configured.
I included files test5.jsp and TestBean.java. test5.jsp and
TestBean.class are all in same directory.

test5.jsp:
--
<HTML>
  <HEAD>
  </HEAD>

  <BODY>
      <jsp:useBean id="myBean" class="TestBean" />
      <jsp:setProperty id="myBean" property="value1" value="blue" />
      <jsp:getProperty name="myBean" property="value1" />
  </BODY>

</HTML>
--

TestBean.java:
--
public class TestBean {

  private String value1;

  public TestBean() {
    value1 = "test";
  }

  public void setValue1(String aValue) {
    value1 = aValue;
  }

  public String getValue1() {
    return(value1);
  }

}
Very bing thanks,

Branko

p.s.: Could this be a problem: administrator gave me permissions to do
with servlets in one my directory,
but I am trying to work my test5 example in another WWW directory? When
I copied test5.jsp and
TestBean.* in previously mentioned directory following error occured:

--
500 JSP compile-time error

The JSP page you requested could not be served because the following
error(s) occured:

File /servlet/test5.jsp could not be found
--

How is this possible, if file is there?!?!

===========================================================================
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