,
Share with your friends 

another soluation for jsp's

1 ratings Views 208 
Author: raghuramireddy (raghu reddy)  View Profile |  View other solutions by this author

Question / Problem


<body> <%! int x=42%> <% x=22 %> <%=x %> </body> </html>

Solution

in this above problem int x=42 global declaration value
x=22
is local declaration value
value of =x is 22
because x local  value.

Applies to

JSP

Rank It

Login to rank it

Report


Advertisement