Consider 3 Jpeg files
- image1.jpg
- image2.jpg
- image3.jpg
For a given URL and a set of parameters, I would like the server to select and return one of those images.
I'm working in a JEE6 environment. What approach would you recommend?
- A JSF redirect?
- A REST WebService?
- A good old servlet?
- ... ?
Any suggestions welcome!