All the public methods will be declared out side the service method ,
& out is defined inside service

so "out" variable is not accessiable inside ur public method,
to solve this problem just pass out variable as an argument to ur  method

cheers,
ravi


Wayne Lian wrote:

> Hi,
>     I had declared a public method in a JSP page and that method only
> do "out.println("Testing");", but when i call that method, i got the error
> message saying that out is undefined or not declared...
>     Can anyone please help me? Thanks.
>
> regards,
> Wayne
>
> -------------------------------------------------
> Everyone should have http://www.freedom2surf.net/
>
> ===========================================================================
> 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

Reply via email to