I am trying to do the same thing "Test authentication in processPreprocess method", but how can you be sure that the user will pass through the RequestProcessor ? Each JSP page must be associated to an action, isn't it ?
-----Original Message----- From: Jason Rosen [mailto:[EMAIL PROTECTED]] Sent: 04 September 2002 19:05 To: 'Struts Users Mailing List' Subject: RE: processPreprocess & ActionForward You can use the processActionForward method of the RequestProcessor: processActionForward(request, response, (ActionForward) appConfig.findForwardConfig("myForward")); -----Original Message----- From: Chen, Dean (Zhun) [mailto:[EMAIL PROTECTED]] Sent: Wednesday, September 04, 2002 9:51 AM To: 'Struts Users Mailing List' Subject: processPreprocess & ActionForward Is it possible to access the ActionForward object from processPreprocess? I'm trying to override processPreprocess to implement authentication. However, I want to specify the forward page via struts-config.xml instead of hard coding it. Chpt 9 of OReilly book on serverside said that's recommended but doesn't give an example. Any ideas? I searched the archive and found this http://www.mail-archive.com/struts-user@jakarta.apache.org/msg15542.html But this example extends ActionServlet. Thanks, Dean Chen -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>