In a jsp I cannot build a string and then display it, i.e.
<% String i1 = "path/image1.jpg";
String i2 = "path/image2.jpg";
.. some logic to assign either i1 or i2 to s..
String h = "<img src=" + s + "width=/""70" ... etc;
Originally posted by Simon Ingram:
because the file name is not known, ...
do i specify a dummy file name and then create the file on the fly?
can I somehow dynamically create the html?
I'm sure there is something simple that I am missing!
My servelt can decide which cards to display and then forwards to a jsp. But when I write the jsp i don't know the cards