I have a simple application that I feel would fit under the model 2 architecture, but I've run into a question about the implementation. I have several (100+) presentation JSPs. I simply need to pull a few items from a database and display this info in the JSP. I'm using a controller servlet and requestDispatcher to call the JSPs as needed. My question: What is the advantage of using a bean to hold information from the database and using bean tags in the JSP to display this information instead of just using custom tags in my JSPs to pull information from the database? That is, a user enters the controller servlet, logic determines which JSP to use and requestDispatcher grabs the JSP needed and the custom tag in the JSP takes care of the one simple database call. This is a one time request for each call and no information needs to be used by any other applications/JSPs etc. Thanks.... =========================================================================== 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
