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. :)

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...

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.