I have found two major advantages with JSP with servlets  over just servlets:
1. They allow you to completely seperate the display formating of your pages completely from the java code to the extent that the person coding the JSP does not need to know anything about JAVA and the person coding your servlet has no control over the formating. They are two different types of people anyway.
2. This then allows full prototying of your app at html time before any code is written by putting dummy navigation bars at the bottom of the screen that do everything the program would have done. Once tested and agreed you just had servlet and bean code to cause the actions.

Have a look at a book SG24-5423-00 on IBM's site www.redbooks.com for an example

John Anderson

Daniel Macho wrote:

 Hi my friends. I am a new subscriptor to this list. First of all, sorry if my english isn't good enough. The question is that I was wondering if someone could explain me what is the advantage of usingservlets and jsp together when developing internet applications, if the role of the servlet can besupplied with a bean into a jsp. I am analizing a new internet application, and I have realized that the only reason for using a servletis checking users validity into a session, and so on, things that can be done with a bean into a jsp. Are jsp's a substitution for servlets or a complement instead? Thanks in advance. -------------------------------------------------
Daniel Macho Ortiz
Analista Programador
Dep. Laboratorio.
FIHOCA
Tlf: (93) 410.90.00 Ext. 508
e-mail: [EMAIL PROTECTED]
-------------------------------------------------

--
from

john anderson
(mailto:[EMAIL PROTECTED])
____________________________________________________________________________________
matai marketing
po box 27-496
wellington
new zealand (home of the americas cup)

phone +64+4+801 8672
mobile +64+25+27 27 192
fax +64+4+801 8673

visit our site at
http://www.mataimarketing.co.nz
____________________________________________________________________________________
 

Reply via email to