struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Graham" <dgraham1...@hotmail.com>
Subject Re: processPreprocess hook
Date Mon, 03 Mar 2003 14:35:25 GMT
Struts has always been based around a FrontController servlet, java action 
classes performing logic, and a view layer.  This is "MVC model 2" design; 
the RequestProcessor has nothing to do with that definition.

David



>From: "Alok Garg" <alok@direct2s.com>
>Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
>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 and
>Response objects.
>Alok
>----- Original Message -----
>From: "David Graham" <dgraham1980@hotmail.com>
>To: <struts-user@jakarta.apache.org>
>Sent: Monday, March 03, 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" <alok@direct2s.com>
> > >Reply-To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > >To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> > >Subject: Re: processPreprocess hook
> > >Date: Mon, 3 Mar 2003 10:10:31 +0530
> > >
> > >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 httpServletResponse)
> > >Alok Garg
> > >----- Original Message -----
> > >From: <Gaurav.Goyal@ercgroup.com>
> > >To: <struts-user@jakarta.apache.org>
> > >Sent: Sunday, March 02, 2003 8:37 AM
> > >Subject: processPreprocess hook
> > >
> > >
> > > > Hi,
> > > > We have been overriding the processPreprocess method in
> > > > ActionServlet of Struts 1.0 in an extended class to do some custom
> > > > processing like session expiry handling etc. I noticed that this
>method
> > >is
> > > > not present in the ActionServlet of Struts 1.1. So now I guess we
>can't
> > > > migrate from Struts 1.0 to Struts 1.1. unless we make some changes 
>in
> > >our
> > > > extended class. Am i right or am I missing something here?
> > > >
> > > > Thanks,
> > > > Gaurav
> > > >
> > > > 
>---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> > > >
> > > >
> > > >
> > >
> > >
> > >---------------------------------------------------------------------
> > >To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > >For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
> > _________________________________________________________________
> > Add photos to your e-mail with MSN 8. Get 2 months FREE*.
> > http://join.msn.com/?page=features/featuredemail
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: struts-user-help@jakarta.apache.org
> >
> >
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: struts-user-help@jakarta.apache.org


_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.  
http://join.msn.com/?page=features/featuredemail


---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message