Hey, Ranchers - I'm new to J2EE. I have about three months to get familiar with the technology enough to take over maintenance of Web programs for a state agency. At the risk of sounding too much like a beginner, would anybody share with me where Servlets are more or less advantageous than JSP? Or do they work together? It seems to me that Servlets offload processing from the client, and that JSP delivers the data for the client to process/display. Am I getting warm? Thanks!
Give a man a fish, he'll eat for one day. <br />Teach a man to fish, he'll drink all your beer.<br /> <br />Cheers,<br /> <br />Jeff (SCJP 1.4, SCJD in progress, if you can call that progress...)
Joined: Feb 22, 2002
No you're not getting warm... A JSP is a servlet that gets compiled. You might start with Marty Hall's book. I think you can download or read online the old version for free. Or the J2EE tutorial will get up to speed. HTH
Joined: Oct 04, 2003
essentially JSPs have (Java) Code embedded within the HTML Servlets generate HTML code from a pure Java program
Kim Jong II (North Korea's Dear Leader) said:Nuclear weapons don't kill people, people kill people.
Ko Ko Naing
Joined: Jun 08, 2002
In MVC Architecture, servlets are usually responsible as Controllers and JSPs are responsible as Views... What you understand as the following is correct too...
It seems to me that Servlets offload processing from the client, and that JSP delivers the data for the client to process/display. Am I getting warm