Hi,
<!   declaration is for class level variable  declaration   ( Ps. JSP is finally
becomes a servlet class).     <% is for normal local variables  in the
jsp_Service method.

-Shibu





SANDEEP UPPAL <[EMAIL PROTECTED]> on 09/25/2000 02:55:55 PM

Please respond to A mailing list about Java Server Pages specification and
      reference <[EMAIL PROTECTED]>

To:   [EMAIL PROTECTED]
cc:    (bcc: U P Shibu/LTITL)

Subject:  difference between <%!...%> and <%....%>



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

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