Hello,
I am also new to this camp as well as sevlets/jsp.

I keep reading all of the discussions about Model II and MVC  and I would
like to thank everyone
for an enlightening experience.

My question, is also about the design of the Action.
To me a View(HTML form) is nothing less than HTML and actions.
The Action component of the controller is simple an event handler for a user
action (button click, etc)
I am attempting to make a flexible architecture for a packageable product,
ie I do not want a end-user to compile functionality into the application.
Has anyone used a scripting language such as JPython to implement the
Action.
Meaning:
1. Each request would be delegated to the ApplicationController
2. Application Controller would look into its action Hashtable (loaded from
filesytesm/database) of scripts based on logical name and action name.
3. Application would create an instance of the Action class and execute it.
4. The action class would invoke JPython's embedded interpreter.
    The responsibilities of the script would be:
        1.Manipulate the DataLayer
        2.Tell the ApplicationController what logical view to send the
request to.
5.The ApplicationController would look at the logical view returned and
return an associated physical view(JSP page)

Does anyone see any issues with this?  Any feedback appreciated!

Thanks,
Shone Sadler
Developer
Q-Link Technologies

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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

Reply via email to