Inserting HTML code snippets inside jspf file

102 Views Asked by At

I have a jspf file with java code inside. On one line, I have an if statement, that if excecuted, it will print one single Java line(a text string), but also some html content (a tooltip with a clickable image that expands an area). So the tooltip should only show up when the if statement is true, and also alongside the text String. When I import the jspf file in my main jsp file, the tooltip is visible all the time, but not in the place where my text string in the if statement is placed. The HTML content doesn´t seem to sync with the java code. is there any way to accomplish this?

0

There are 0 best solutions below