Hi,
1) Define each dynamic functionnality you need in your home page
2) Design a JSP Tag library with one tag for each fonctionnality
3) Write the supporting classes that will be called by the tags.
4) Write the documentation for your library
5) Give the library + documentation to your page designers.
This is, IMVHO, the most productive way to do the job. As long as you only
need to send back textual data (html, xml, etc.), ie you can rely use a
PrintWriter and don't neet an OutputStream, you don't need to use servlets.
But you really need to know how servlets work to design an effective taglib.
Pierre-Yves
-----Message d'origine-----
De : A mailing list for discussion about Sun Microsystem's Java Servlet
API Technology. [mailto:[EMAIL PROTECTED]]De la part de Dick
Wong
Envoy� : lundi 3 septembre 2001 11:06
� : [EMAIL PROTECTED]
Objet : Question on create dynamic content homepage.
Dear all,
I would like to create a dynamic content homepage which is connected to our
company database server. I know servlet can call the Java class file to
make connection, response data to client and JSP can do it also. So what
should I choose ?? Choose pure servlet or pure JSP or combine it ? If
combine it, how to make a flexible homepage, or which part should be done
by JSP and Servlet.
Please give me some comments on it.
Thanks for your kind attention & help.
Regards,
Dick Wong
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html