What I am after is this.
The client uploads photos that get written into a table in the JSP (a gallery). As they upload they can check how it looks, changing the photos as they wish.
The photo names and locations are stored in a DB on the server.
That same table is written as part of a report to a file on the server by a class in the system. It looks up the locations of the files from the DB and generates the HTML to create the photo gallery.
Right now I'm building the table in JSP so the client can see it, than creating it again in a
java class so it can be written into the report.
It would be nice if I could consolidate the 2, ideally creating all HTML in the JSP and none in Java.
I hope this gives a clearer picture.
Luke