} The code above gets all the values from arraylist amd makes them all into separate links.
In the above code the value of Post_titl(in this case 'param1') is dynamic, it could be any one the values from ArrayList titl. Is there any API in java to capture value of the link user clicks on so i can pass it as value of Post_titl in the above URL? If someone can help i will apprecaite it very much. More info Its like master/detail kind of process. Just like this forum user posts lot of data and title becomes link and rest goes to database. Once users clicks on link, the value of the link is passed to other servlet to get rest of the info from databse. Is there any API in java to capture value of the link user clicks on? [ July 08, 2003: Message edited by: srini kami ]
Hi William Thank you for the response but i think i wasn't clear enough. What i meant was how do i assign value to "Post_titl". So i can get it using String title = resp.getParameter("Post_titl"); just as you said. The value to be assigned is the link value.
Author and all-around good cowpoke
Joined: Mar 22, 2000
I'm not clear on your problem. Whats wrong with assigning the value in the statement that writes the href= link? Bill