Thanks, that's very clear and helps.
"Craig R. McClanahan" wrote:
> Rueda P wrote:
>
> > I have tried declaring counter using <%! %> .
> >
> > What I found is that when this jsp, containing the counter, is accessed,
> > counter increment.
> >
> > So, my assumption is that the variable declared
Rueda P wrote:
> I have tried declaring counter using <%! %> .
>
> What I found is that when this jsp, containing the counter, is accessed,
> counter increment.
>
> So, my assumption is that the variable declared withing <%! %> is
> declared as static global variable.
>
You might want to look at
I have tried declaring counter using <%! %> .
What I found is that when this jsp, containing the counter, is accessed,
counter increment.
So, my assumption is that the variable declared withing <%! %> is
declared as static global variable.
Is this correct
Rueda
On Tue, 20 Feb 2001 16:4
bout Java Server Pages specification and reference
> [mailto:[EMAIL PROTECTED]]On Behalf Of Rueda P
> Sent: Tuesday, February 20, 2001 5:11 PM
> To: [EMAIL PROTECTED]
> Subject: Re: difference between <%! %> and <% %>
>
>
> I have tried declaring counter usin
y understanding
> > of how it works.
> >
> > Geert Van Damme
> >
> > > -Original Message-
> > > From: A mailing list about Java Server Pages
> > specification and reference
> > > [mailto:[EMAIL PROTECTED]]On Behalf
ing
> of how it works.
>
> Geert Van Damme
>
> > -Original Message-
> > From: A mailing list about Java Server Pages
> specification and reference
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> SANDEEP UPPAL
> > Sent: maandag 25 september 2000 11:08
> > T
gus Mezick" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 6:37 AM
Subject: Re: difference between <%!...%> and <%%>
>
> ALWAYS DELETE THE LIST SIG BEFORE REPOSTING!
>
>
>
> Sandeep,
> 1) get a good book and re
ent: Monday, September 25, 2000 2:19 PM
> Subject: Re: difference between <%!...%> and <%%>
>
> This <%! ...%> scriptlet is used to define a global functions
> and variables, means out side the serivce method.The second
> one is to declare the functio
ALWAYS DELETE THE LIST SIG BEFORE REPOSTING!
Sandeep,
Try this. Create a page using both items. Have the browser compile and
run the jsp. (ok, I know the server does this) Look at the generated java
code. If you can't see the generated code, read your server manual and
figure out how to get
00 11:30 AM
Subject: Re: difference between <%!...%> and <%%>
> Yes
> and in most cases (IMHO nearly always) you should use <% %>.
> I've seen many problems from people using <%! %> without any understanding
> of how it works.
>
> Geert Van Damme
>
erence
> [mailto:[EMAIL PROTECTED]]On Behalf Of SANDEEP UPPAL
> Sent: maandag 25 september 2000 11:08
> To: [EMAIL PROTECTED]
> Subject: Re: difference between <%!...%> and <%%>
>
>
> can we declare a variable like <% public int = 1;%>
>
> regard
Message-
From: SANDEEP UPPAL <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, September 25, 2000 1:47 AM
Subject: Re: difference between <%!...%> and <%%>
>all the processing code we write is in jsp_Service method so how does i
can we declare a variable like <% public int = 1;%>
regards,
Sandeep
- Original Message -
From: Rathna <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 2:19 PM
Subject: Re: difference between <%!...%> and <%%>
This <%!
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 <%..
all the processing code we write is in jsp_Service method so how does it
make a difference.
regards,
Sandeep
- Original Message -
From: Shibu Up <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 1:56 PM
Subject: Re: difference between
inal Message -
From: SANDEEP UPPAL <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 25, 2000 1:55 PM
Subject: difference between <%!...%> and <%%>
> both <%!...%> and <%.%> can be used for declaring variables.
>
> What is t
Hi,
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 &
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".
18 matches
Mail list logo