Make sure you include the jsp file if the function is not in the same jsp.
Another thing you might wanna check is the datatype you are passing. The method
may already be available but you may be passing a value other than double.
If you still cannot figure it out, send your code , I can take a look.
Santosh
Gustavo Gallas <[EMAIL PROTECTED]> on 08/29/2001 01:59:12 PM
Please respond to A mailing list about Java Server Pages specification and
reference <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Santosh Daryani/IT/Aon Consulting)
Subject: Re: Creating a JSP function
When calling a function dbToMoney I declared, I'm getting the following
error message:
500 Internal Server Error
/Eponte/hc_compre2.jsp:
javax.servlet.ServletException: Compilation error occured:
Found 8 errors in JSP file:
E:\\Servers\\JRun\\servers\\default\\default-app\\Eponte\\parametros.jsp:232
: Error: No match was found for method "dbToMoney(double)".
Is there any hint to call this function I declared?
thanx
----- Original Message -----
From: "Rajesh Nair" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 29, 2001 2:26 PM
Subject: Re: Creating a JSP function
> Jsp allows any valid Java constructs and functions. You can write a
> funciton
> within the <%! %> tags.
>
>
>
> -----Original Message-----
> From: Miihir Sahu [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, August 29, 2001 10:18 AM
> To: [EMAIL PROTECTED]
> Subject: Re: Creating a JSP function
>
>
> Hi,
> As far as I know, we cannot have a function in JSP. This is due to
> the fact that whatever we are writing in the JSP is combined into a
> function in a servlet. So if we are to write JSP function, that means
> function within a function, whichi is not possible....this is what I
> know from the knowledge of JSP. If anyone has really done it, please do
> inform me, as I think it is a really a surprise to me. Thanks
> Regards
> Mihir
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
> DIGEST".
> 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
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
> 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
>
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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