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

Reply via email to