Sorry for the off topic post,
I have a case where I am generating a struts form and placing it into a
session. I am having to create a inputStream based on a URL of a JSP which
uses the form, but the JSP cannot find the form in any scope. Does the URL
use a different request/session than the action that is creating it? If
so, does anyone know of a way to pass the dynaform to the URL?
Example code:
JSP:
Hello <bean:write name="myForm" property="userName">
ActionClass
public ActionForward execute(final ActionMapping mapping,
final
ActionForm form,
final
HttpServletRequest request,
final
HttpServletResponse response) {
if(null != form){
callFunction(new URL("http://localhost/helloworld.jsp"));
}
return null;
}