No need to do that, Wayne. =)
Just redefine your public method to include the (JspWriter out)
<%! void aF(JspWriter out){
out.println("testing");
}
%>
...
<% aF(out); %>
> -----Original Message-----
> From: Ravi Prashanth [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, February 06, 2001 8:02 PM
> To: [EMAIL PROTECTED]
> Subject: Re: problem in using out.println in method
>
>
> Cut'n'paste and email me your code and I will have a look at it.
>
> Its mostly a syntax problem.
>
> Ravi
> ----------------------------------------
> Are you an XPERT in what you do ?
> Write articles for us in return for some
> free Publicity. Click the link below :-
> http://CyberConneXions.com/Articles
> ----------------------------------------
>
>
> At 04:59 AM 2/6/01 +0000, you 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
>
===========================================================================
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