I'm trying to load some text onto a JSP page. I really don't know how to do that. I'm using Struts2 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 return the text 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