Hi,

I wish to define a function in my JSP, which executes at the server.
I tried using

<SCRIPT RUNAT="server">

public String doSomething( String input ) {
    String retVal = new String();
    retVal = input + " hello";
    return retVal;
}

</SCRIPT>

The above is similar to an example I saw in a book related to JSP.
When I use the function in my JSP code,  it gives me an error that
it cannot find the specified method.

How do I do the above ?

Thanx
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

Reply via email to