|
This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] I suggest a more layered application where the bean used by the JSP is only intended to contain presentation information. This bean can be filled by the controller who has access to the Business objects. Business objects being linked to database. There is a very good article about that in Visual Age Developer Domain. Here is the link: http://www7.software.ibm.com/vad.nsf/Data/Document2327?OpenDocument&p=1&BCT= 3&Footer=1 We created our own framework based on this here and it works very well. The aim of this article is to describe an implementation of the Model View Controller. You can also have a look at Strust (Apache project) which gives a standard implementation of this kind of framework. Gilles -----Original Message----- From: Hatzenbeler, Tim [mailto:thatzenbeler@clinitech.net] Sent: jeudi, 7. mars 2002 01:25 To: 'java400-l@midrange.com' Subject: Servlet-Bean-Jsp Question This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. -- [ Picked text/plain from multipart/alternative ] I created my first Servlet program, to show as/400 data... And it worked... But now, I would like to write a JSP to show the same data... So my guess would be this... JSP -> would have a bean, and in that bean would read a row from the result set, and then loop through filling a <table>. Is this the correct way to do it? or is there a better way? And I was wondering if any one had any simple examples or a link, that would help... Thanks again, tim _______________________________________________ This is the Java Programming on and around the iSeries / AS400 (JAVA400-L) mailing list To post a message email: JAVA400-L@midrange.com To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/cgi-bin/listinfo/java400-l or email: JAVA400-L-request@midrange.com Before posting, please take a moment to review the archives at http://archive.midrange.com/java400-l. ********************************************************************** This E-mail and any files transmitted with it are confidential and intended for the exclusive use of the addressee(s) only. You should not disclose its contents to any other person. If you are not the intended recipient please notify the sender immediately. **********************************************************************
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.