TH> Struts has always been open to other presentation systems.
TH> It's just
TH> been a matter of someone doing the work to expose the Struts
TH> configuration to those systems. The custom tags and RequestUtils package
TH> did that for JSP.
It's not clear for Struts beginners.
I think Struts should not press user to select JSP.
Do you plan to divide Struts to Action part and JSP support?
TH> Other servlets like X2 (from the JavaWorld article),
TH> and the Struts/Velocity servlet are making it available to other systems
TH> now.
Have had X2 the release or alpha? Have you contact to the developers?
I want to help them.
TH> For JSP, another servlet is not required, since the JSP service is
TH> already provided by the container. For other presentation systems, it is
TH> just a matter of adding a presentation servlet, like the XLST X2
TH> servlket or the one provided by the Velocity team. The internal Struts
TH> packages (except for RequestUtils) are view neutral, and should work
TH> equally well with anything.
Good idea.
TH> In Struts 1.1, we're working on a "API bean" that will make the
TH> configuration readily available to other systems, including JSTL.
JSTL? It's about tiles? Can I find the API in nightly build?
TH> The Action is part of the controller layer. It bundles model data into a
TH> bean for the benefit of the presentation layer, but does not itself
TH> contain any presentation logic (e.g. HTML code). Here, it is following
TH> the layers pattern,
TH> [view] <-> [controller] <-> [model]
Hm. Why not [controller] <-> [model] and
[view] <-> [model]?
At present in the Struts I should write Action for any View that
requires to load data from the Model.
I think the View from pull-MVC has two main responsibilities:
1. Load data from the Model and prepare for render(java task)
2. Render loaded data with JSP or XSL or..
Am I wrong?
Sincerely yours, Roman Petrov
</></></></></></></></></></></></></></></></></></></></>
Software Engineer Actimind, Inc.
Software Development Department http://www.actimind.com
E-mail: [EMAIL PROTECTED] Saint-Petersburg
Phone: +7-(812)-325-87-16(ask 108) Russia
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>