I'm trying to load some text onto a JSP page. I really don't know how to do that. I'm using Struts 2, so I can use its tags.
This is the only line in the body:
<s:property value="myTextToAdd" />
I know, this isn't much to go on, but I don't know what to ask at the moment. I just want to be able to call a Java class and have it to return the text, that I want to the JSP page.
This is some simple tutorial for struts 2 Struts 2 Hello World it will get you basic startup introduction. Try this may be you will get some idea about struts2