variable visible from diferrent jsp pages -


hello! have problem... have for-loop in jsp generates buttons

<div class=button>      <% (int i=0; i<2; i++ ) { %>      //title button title i.      //each button send user @ same url destination.jsp` </div> 

so in user appears [title 1] [title 2] when in destination.jsp how can know value of i? thanxs lot!

try this

<a href="carddetailform.jsp?param='"+i+"'"></a> 

Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -