Hello kanojiajogesh,
try restart your servlet engine.
HTH.
Tuesday, September 05, 2000, 10:04:46 PM, you wrote:
k> Hi There
k> I have Create a bean which consist a function that accept a string
k> Here is the code
k> *********************
k> import java.io.Serializable;
k> public class mybean implements java.io.Serializable
k> {
k> public String mystr = new String("Kanojia Jogesh");
k> public mybean()
k> {
k> }
k> public String getvalue()
k> {
k> return mystr;
k> }
k> public void setvalue(String s)
k> {
k> mystr = s;
k> }
k> }
k> ***********************************
k> when i change the parameter of setvalue like this
k> public void setvalue(String s,int i)
k> {
k> mystr = s;
k> }
k> Its give me the error
k> mybean: method setvalue(Ljava/lang/String;I)V not found
k> I am unable to send 2 value in the function
k> Please Help me out
--
Best regards,
d10n mailto:[EMAIL PROTECTED]
===========================================================================
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