the first question you need to ask is WHY do you need to use multiple servlets. struts is a SINGLE servlet model framework that supports multiple modules (for larger and coordinated application development) if that's what you're looking.
jsf is just another web framework, similar and overlapping struts, a slight variation on struts, but is component-based rather than request-based. jsf still generates HTML in the end, still young and not yet as popular. here a decent article to find out more info: www.virtuas.com/osl-jwf-01.pdf.
struts DOES have role-based authorization (roles attribute)at the action mapping level. look at the user guide again. the filter will help with authentication mostly. finer grain authorizations (buttons, links, page components etc.) will require your own custom solution (e.g custom tag or...
you're not listening. re-read the previous reply. J2EE needs a web and controller front which is the Servlet/JSP combination, something that Struts provides in a structured/streamlined manner. Struts INTERACTS and works within J2EE specs, but doesn't "INCLUDE technologies provided by J2EE"...
i have 3 years of struts experience and 7 years + of coldfusion (both deep hardcore experience, not brushing knowledge). it's a somewhat valid statement, but not totally fair.
the true answer is 'it depends'. it depends on your current environment, size/type of your application, and a variety...
see my reply to this post: http://www.tek-tips.com/viewthread.cfm?qid=1053065&page=1 . you should consider using html:options instead of iterating through the list manually.
you CANNOT use tiles the same way you use frames as you described. there isn't such a thing as 'target' in tiles. think of tiles as includes (must be refresh each time to change), and not independent frames or iframes.
i have been using struts for more than 2 years and have accountered all kinds of forms imaginable. i also use JSTL instead of the remaining struts tag-libs and i have yet to need the EL library.
if the pre-select value is fixed, you can initialize it in your form-property using the 'initial' attribute. struts-html automatically populate your form with initial values if defined.
if the pre-select comes from the backend, you need to do a form.set("myFormField", preselectValue); inside...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.