Hi and howdy!
I have a problem in output handling with JSPs.
I want to have an output like:
Text 1
Text 2
Text 3
Text 4
Whereas "Text 1" and "4" come from the
JSPand "Text 2" and "3" from a
bean.
myText.jsp:
myBean.java:
The problem is, I get:
Text 2
Text 3
Text 1
Text 4
So the text is
always added at the start of the JSP HTML-Code and
not within, from where the method is called.
How can I solve this problem?
Is there a more elegant way to solve the problem?
Thanks!