Hi,
I had already replied  to this . You cannot break a method like this.


Ashwani Kalra
Sr. Systems Associate,
E-Commerce Group, NIIT Ltd.
Phone :091-11-6203577(D),6203578



> ----------
> From:         Verma Varun
> Reply To:     [EMAIL PROTECTED]
> Sent:         Friday, March 10, 2000 10:32 AM
> To:   [EMAIL PROTECTED]
> Subject:      methods in JSP
>
> hi all!
> of late there have been some queries about how to write java methods in
> .jsp
> many people have replied that u can do it as follows..
>
> <%!
>   method()
> {
>   //java code
> }
> %>
>
> however 1 pt. i would like to add is that u CANNOT BREAK UP THE METHOD
> LIKE ....
>
> <%!
>  method()
> {
>   ///java code
>  %> html code <%
> }
> %>
>
> hope it will help somebody! Actually, i wasted a lot of time trying to do
> this :)
>
> varun
>
> ==========================================================================
> =
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
> JSP-INTEREST".
> 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
>
>
>
Visit http://www.niit.com for eCommerce Solutions.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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