hihi all! --- Marco Tedone <[EMAIL PROTECTED]> wrote:
> We are talking here about the user submitting a form from a JSP page: > the > fact that I've got request and action form both populated, doesn't > suggest > me any added value in maintainability, it's simply a duplication of > data. We > chose Struts as web framework not because of Action Forms (not yet at > least, > and not until we'll assure that the advantage is real and not that we > must > use them just because we're using Struts), but because we think that > some of > its features (particularly driving the web application logical flow), > the > native support for internationalization, possibly the use of Tiles > (we're > still deciding) and, when possible, the use of dynamic forms, are > nice to > have. But after today's discussion, I'm going to evaluate with our > senior > architect whether it's worth having the validation thing done by > Struts, > paying in performance. To process objects in the JSP page, we'll use > JSTL, > and this rest assured. i personally avoid javascript like the plague. :) i think if you keep your website design clean and simple, it makes avoiding javascript easier. i also believe that no matter how much functionality or business you need to accomplish, you can do so with good web page/site design, rather than cramming lots of functionality into one page (as to necessitate the use of javascript). there's always a better design. take a look at the best websites in the world like yahoo or ebay. i don't believe they have much javascript, if any. it's all server-side processing. and they perform very well, because performance is now a function of network/server architecture, not code. benefits are: - no grey hairs lost due to maintaining javascript - write once, browse anywhere website! > > As regards performance versus maintainability, if you are delivering > a site > visited by hundreds of thousands of people at the same time, > performance > plays a big role, and half a second could make the difference between > a > returning customer and one who goes to the competitors. if your website's only selling point is performance then you should realize that (all things equal) your best performance gains are had by optimizing and beefing up your network/server architecture. > > Could you please answer to me about the possibility of using the > struts-bean > tag library without having a struts form? Is that possible? The > internationalization bit is a big advantage. yes this is possible. you can use struts tags like <bean> <html> <logic> even jstl <c> tags without ActionForms... why though? woodchuck __________________________________ Do you Yahoo!? Yahoo! Mail - 50x more storage than other providers! http://promotions.yahoo.com/new_mail --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]