I think :
View : Form.htm, Thanks.jsp
Controller : FormHandler.jsp
Model :FormWriter.java
I am new to JSP, so don't trust my words too much.
Also, I heard usually the controller is implemented as a servlet not a jsp.
Anthony Mak
-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of jamsheer
Sent: Thursday, November 22, 2001 2:21 AM
To: [EMAIL PROTECTED]
Subject: Model? View? Controller?
Hi,
I am going to ask simple question.Let me explain..!!
I have a Form.htm page which has a Form in it.It posts the data into a
FormHandler.jsp which uses a Bean FormWriter.java which writes all data into
a database,after that FormHandler.jsp forward the request into a Thanks.jsp.
This is the situation..
Now I want to know,in this,who is Model?Who is Controller?Who is View?
Is this a correct MVC architecture?Can anyone tell me this?
Thanks..
Cheers,
Jam.
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST
DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets