Quick one here really, Basically there is one page with say, All Articles, When a user clicks on an article I want to go to a new page that displays the article clicked on. All I need to know is what method to use here. Should I use the link to pass parameters or store the article in a bean or what?

I had a look around the net but didn't find what I was looking for. Maybe I was using he wrong terms or something, anyway Thanks for your time. :)

9 Years
Discussion Span
Last Post by Adventa

Sorted. This is how I did it. I am also using MVC.

Set the article_id into a variable artid at the stat of each run of the while loop used to print all the articles from the database. Then for the href on the article simply put "/controller?operation=viewarticle&<%=artid%>"

The just used getParameter in the following page to pull in it. Couldn't see the forest for the trees...

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.