I am using struts 1.1 beta 2

I use the DispatchAction object using a display method in the class:

public class AssessmentAnalysisAction extends DispatchAction {

        public ActionForward display(ActionMapping mapping,
                                        ActionForm form,
                                        HttpServletRequest request,
                                        HttpServletResponse response) {

                HttpSession session = request.getSession();
                AssessmentAnalysisForm aaf = (AssessmentAnalysisForm)form;
                ActionErrors errors = new ActionErrors();
                int debugLevel = servlet.getDebug();

                ... code ....

                // Load the form displaying the report data
                return mapping.findForward("success");
        }
}

I have mapped the 'success' key to the jsp page in struts-conf.xml

        <action    path="/assessmentAnalysis"
                   type="com.mim.struts.reports.AssessmentAnalysisAction"
                   name="assessmentAnalysisForm"
                  scope="request"
              parameter="dispatch">
          <forward name="success"       path="/reports/assessmentAnalysis.jsp"/>
        </action>


Is what I would really like, is to have the jsp page open in a new brower
window. Is this possible? Thanks.

Michael Cardon
[EMAIL PROTECTED]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to