Have a look at this book, it gives explanations on how you can use jsp-servlets-javabeans all together.
hope it helps
I saw this thread and I thought I would add my 2 cents worth.
I have the second edition of the book and I have mixed emotions about it. It starts great. Talks about downloading and configuring three different servlet containers. But soon it begins to lose me. In early chapters it starts to refer to things in much later chapters. It feels dis-jointed to me.
YMMV but I like a book with a good linear message. This book does not always do that. The author definitely knows his stuff, but, I must admit, I put it down and have bought two other books on JSP and servlets. Those two did a better job, but still missed.
I hate to say it but the Head First Java book may have spoiled me. It is so clear, consistent, and informative. And not to mention funny. So, I will stumble along with three books that disappoint me, until the Head First SCWCD arrives next summer. Please let it arrive early!
Good luck! And if you do find the perfect book, please let me know.
Originally posted by Jon Summers:
I just started learning JSP and servlets. COuld someone please give me the link to the code where they show an example of both JSP as a presentation layer and servlet as a controller and how they exchange information. THanks a lot.
Search Amazon.com for Struts ...
If, however, you're wanting a proven, industrial-strength MVC framework, use Struts, WebWork, or something similar (don't roll your own). They're both open source, so you can see how they implemented their MVC frameworks.
Though I agree with Bear that it's important to understand the basics of the MVC pattern before using someone else's framework, the basics are easy to grasp. And, if you don't have a deep understanding of controller based apps, you'll certainly be better off using an established framework that has excellent support resources available (books, tutorials, documentation).
[ December 04, 2003: Message edited by: Mark Latham ]