I've seen this problem, although the message it couldn't find wasn't the one
written out (i.e. addURL() in your case),
but a method sent within the one mentioned. You say you replaced the
addURL() method with another get/set method without error. Presumeably, this
new method is not calling any other methods. If so, check to make sure that
all the latest code
which addURL() calls has been compiled into the Class files you're running
with.

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Masaoud
Sent: Tuesday, November 23, 1999 1:36 PM
To: [EMAIL PROTECTED]
Subject: Problem while accessing a non-get/set bean method in JSP


Hi,

    I am using a bean inside a JSP page and trying to call a method
(which is a non-get/set method). When the JSP page is invoked,
following error is reported


500 Internal Server Error
Java Server Page Translation Error
Error during compilation :
D:\JavaWebServer2.0\tmpdir\default\pagecompile\jsp\_ees\_newUrl.java:101:
Method addURL() not found in class abc.xyz.test.
                   mybean.addURL();
                                ^
1 error


But if I replace the addURL() method by any get/set method,
no errors are reported.

Are there any constraints on the methods that can be invoked
from a JSP ? or only the get/set methods can be called ?

Regards

  Masaoud

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to