Simply,
<% int i = 0; %>
It is the same Java code between <% and %> tags...
- Ahmet Emre
----- Original Message -----
From: "Subu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 18, 2000 8:03 AM
Subject: Initialising Variables in JSP
> Could you help me out with a simple way to get a variable initialised in a
> jsp to a value ??(similar to the servlet initialization parameters defined
> in properties file).
>
>
===========================================================================
> To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
> FAQs on JSP can be found at:
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html