I would like the following code to work, but have no idea as to how to get at the form bean outside of a struts tag.
<logic:equal name="model" property="answerType" value="TEXT">
<%
String keyval = "questionAnswer" + "(" + model.getAnswerType() + ")";
%>
<html:text property="<%= keyval %>" value=""></html:text>
</logic:equal>
Is there any way to get at a struts form bean in a JSP so that I can use something more than struts tags to perform some processing?
Sorry if this is terribly basic but perhaps the way to put it is : is there a way for a JSP page to interact with a struts form bean without using struts tags that are form bean aware?
based on form bean scope definition (session, request or …) in you xml file you can get the from object from that scope :
example session:
you can even use JSP or JSTL tags to get this object from the scope.