You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Kalaiselvan <ka...@HotPOP.com> on 2002/09/18 06:34:31 UTC

Difference Model1 and Model2

Can any one explain me the exact difference between the Model 1 and Model 2  MVC  frame work..

Thanx in Advance..

Kalaiselvan.S

RE: Difference Model1 and Model2

Posted by Narayana Reddy <rn...@india.hp.com>.
 Hi,

 Is Action mapping - part of Model 1?

Thanks & regards,
Narayana Reddy
PM, IRDI, India
Telnet:847-1987
Work: 91-80-2051987
Home: 91-80-3541057
Mobile: 91-98451-62251


-----Original Message-----
From: Emmanuel Boudrant [mailto:b7st@yahoo.fr]
Sent: Wednesday, September 18, 2002 1:29 PM
To: Struts Users Mailing List
Subject: Re: Difference Model1 and Model2


Hi

MVC1, there is MANY controller. A good example is the Java Swing API.

MVC2, there is only ONE controller, it's a web adaptation for the MVC
pattern. With 1 controller,
all user request are under control in a central point. A very good example
is Struts.

-emmanuel





 --- Kalaiselvan <ka...@HotPOP.com> a écrit : > Can any one explain me
the exact difference
between the Model 1 and Model 2  MVC  frame work..
>
> Thanx in Advance..
>
> Kalaiselvan.S
>

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Difference Model1 and Model2

Posted by Emmanuel Boudrant <b7...@yahoo.fr>.
Hi

MVC1, there is MANY controller. A good example is the Java Swing API.

MVC2, there is only ONE controller, it's a web adaptation for the MVC pattern. With 1 controller,
all user request are under control in a central point. A very good example is Struts.

-emmanuel





 --- Kalaiselvan <ka...@HotPOP.com> a écrit : > Can any one explain me the exact difference
between the Model 1 and Model 2  MVC  frame work..
> 
> Thanx in Advance..
> 
> Kalaiselvan.S
>  

___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


How to extend AppException

Posted by phpsurf <ph...@ifrance.com>.
Hi

when looking at the default ExceptionHandler implementation, I saw that
there was a special behaviour when handling
org.apache.struts.util.AppException.

This allows to pass arguments to the Exception that will be used to build
the error message.

I would like to benefit from this in my project.
So my first idea was to have all my applicative Exceptions extend this
AppException.

But the problem is that its properties are private instead of protected, so
it's quite difficult to add some features to the class ...

Would this need a patch ?
Any idea ?


________________________________________________________________
Etudiant: Wanadoo t'offre le Pack eXtense Haut D�bit soit 150,92 euros d'�conomies !
Et pour 1 euro de plus, re�ois le CD-ROM du jeu Dark Age of Camelot
+ 1 mois de jeu en r�seau offert ! 
Clique ici : http://www.ifrance.com/_reloc/mail.etudiant 


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: Difference Model1 and Model2

Posted by Tiago Nodari <ti...@uol.com.br>.

         Never heard of searching first?

         but...

         Almost any code camp from sun that talks about J2EE or 
JSP/Servlets has some slides on Model 1 and model 2
         http://www.sun.com/developers/edu/camps/

         Also there are some webcasts
         http://developer.java.sun.com/developer/onlineTraining/webcasts/

         there is probably tons of material on the subject, plus any book 
on JSP/Servlets normally has a chapter about the subject...




At 10:04 AM 9/18/2002 +0530, you wrote:
>Can any one explain me the exact difference between the Model 1 and Model 
>2  MVC  frame work..
>
>Thanx in Advance..
>
>Kalaiselvan.S



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>