PLS note
this is not a JSP SCRIPT
it is a server side JAVASCRIPT
pls go thro the code again
hope this helps
Amit
> -----Original Message-----
> From: Masaoud [SMTP:[EMAIL PROTECTED]]
> Sent: Tuesday, November 30, 1999 4:35 PM
> To: [EMAIL PROTECTED]
> Subject: Using Server Side JSP functions
>
> 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
===========================================================================
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