RE: login request + ActionServlet RequestProcessor Action

2003-08-22 Thread David Friedman
ant to see what they do in processRoles) is: http://cvs.apache.org/viewcvs/jakarta-struts/src/share/org/apache/struts/act ion/RequestProcessor.java?rev=1.32&content-type=text/vnd.viewcvs-markup Regards, David -Original Message- From: Andy Richards [mailto:[EMAIL PROTECTED] Sent:

Re: login request + ActionServlet RequestProcessor Action

2003-08-22 Thread Andy Richards
ginal Message- > From: Andy Richards [mailto:[EMAIL PROTECTED] > Sent: Thursday, August 21, 2003 9:55 AM > To: Struts Users Mailing List > Subject: Re: login request + ActionServlet RequestProcessor Action > > > Hmm > > Strugling a bit with this one now.?? I have ext

Re: login request + ActionServlet RequestProcessor Action

2003-08-21 Thread Andy Richards
Hmm Strugling a bit with this one now.?? I have extended requestProcessor and tried to perform a requestDispatch and responseRedirect, however both fail as the error message informs me the reponse has already been submitted. I thought i may be able to use declarative exception handling with glo

Re: login request + ActionServlet RequestProcessor Action

2003-08-21 Thread Kok Wei, Koh
Yeah you should only need to define your custom AuthenticationRequestProcessor class which extends RequestProcessor in controller element of your struts-config.xml. Andy Richards wrote: Hi Kok Good point, never thought about that! One point towards extending the requestProcessor then, as if i

RE: login request + ActionServlet RequestProcessor Action

2003-08-21 Thread Navjot Singh
ssage- |From: Andy Richards [mailto:[EMAIL PROTECTED] |Sent: Thursday, August 21, 2003 2:19 PM |To: Struts Users Mailing List |Subject: Re: login request + ActionServlet RequestProcessor Action | | |Hi | |After deciding which approach to take and reading a few of my struts books |about the contr

Re: login request + ActionServlet RequestProcessor Action

2003-08-21 Thread Andy Richards
Hi Kok Good point, never thought about that! One point towards extending the requestProcessor then, as if i am right i configure this in my struts-config.xml and dont need to extend it from every action class. Thanks Andy On Thursday 21 Aug 2003 10:26 am, Kok Wei, Koh wrote: > Hi Andy, > > I

Re: login request + ActionServlet RequestProcessor Action

2003-08-21 Thread Kok Wei, Koh
Hi Andy, I guess the decision boils down to how your application is going to be written. For a project I worked on couple of weeks back, I ran into a problem where one of my Actions needs to extend a class to inherit some functionality, but I was stucked because I need to extend my "Authentica

Re: login request + ActionServlet RequestProcessor Action

2003-08-21 Thread Andy Richards
Hi After deciding which approach to take and reading a few of my struts books about the controller object ; ) I am now confused as which is the most appropriate class to extend to perform my login functionality. David suggests extending the base action class, however i have read that the Reque