, 2003 11:43 AM
Subject: Re: processPreprocess hook
Struts has always been based on MVC Model 2. The RequestProcessor has
nothing to do with that.
David
From: Alok Garg [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED
PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: processPreprocess hook
Date: Mon, 3 Mar 2003 15:44:45 +0530
Hello David,
If I am not wrong I have read it on the site that Struts 1.1 is now
migrated
from MVC 1 to MVC 2 therefore there is a differentiation of Request
Hello Garuav,
I think you will have to make minor chnages to your code as now Struts 1.1
is based on MVC model 2 they have moved this method to RequestProcessor
class in org.apache.struts.action
protected boolean processPreprocess(HttpServletRequest httpServletRequest,
HttpServletResponse
Struts has always been based on MVC Model 2. The RequestProcessor has
nothing to do with that.
David
From: Alok Garg [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: Struts Users Mailing List [EMAIL PROTECTED]
Subject: Re: processPreprocess hook
Date: Mon, 3 Mar
That method has been moved to the RequestProcessor class.
David
From: [EMAIL PROTECTED]
Reply-To: Struts Users Mailing List [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: processPreprocess hook
Date: Sat, 1 Mar 2003 21:07:58 -0600
Hi,
We have been overriding the processPreprocess
-
Von: James Mitchell [mailto:[EMAIL PROTECTED]]
Gesendet: Donnerstag, 23. Januar 2003 20:17
An: 'Struts Users Mailing List'
Betreff: RE: processPreprocess
Have you taken a look at STXX?
http://stxx.sourceforge.net/
--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open
Have you taken a look at STXX?
http://stxx.sourceforge.net/
--
James Mitchell
Software Engineer/Struts Evangelist
http://www.open-tools.org/
The man who does not read good books has no advantage over the man who
cannot read them.
- Mark Twain (1835-1910)
-Original
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:
, 2002 1:05 PM
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
: 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
before displaying the view.
Jason
-Original Message-
From: Heligon Sandra [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 04, 2002 11:18 AM
To: 'Struts Users Mailing List'
Subject: RE: processPreprocess ActionForward
I am trying to do the same thing Test authentication
Bryan, an example.
protected boolean processPreprocess(HttpServletRequest iRequest,
HttpServletResponse iResponse)
throws IOException, ServletException {
// check to see if a session has already been created for this user
// don't create a
I did a similar thing, except I derived my own action class from the Action
class. Hence my perform() method checks for a session based token indicating
successful login. If the token does not exist, the action uses a struts
forward to redirect to an initialisation page. If the token exists, then
13 matches
Mail list logo