This <%! ...%> scriptlet is used to define a global functions
and variables, means out side the serivce method.The second
one is to declare the functions and variables inside the service
method ...

hope this helps,

with regards,
           rathna.


SANDEEP UPPAL wrote:

> both <%!...%> and <%.....%> can be used for declaring variables.
>
> What is the difference between both and which to use ?
>
> regards,
>
> Sandeep Uppal
>
> ===========================================================================
> 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

--
Cheers,
    rathna


���`���,���,���`���,�����,���`���,��,���`���

  P Rathinavel
  Sr.Systems Engineer - eCommerce Division
  Wipro Technologies
  Electronic City
  Bangalore 561229, India
  Tel  : 8520420/416/424/408  Extn : 1313
  E-mail: [EMAIL PROTECTED]
  www.wipro.com

���`���,���,���`���,�����,���`���,��,���`���

===========================================================================
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