hi ranchers..
couldn't find any better subject to this post.
I've seen so many web sites URL's like this one:
www.example.com/showProduct.jsp?itemId=300 this example can be extended to other scripting languages like asp, php, perl, python, etc..
I try to design my web applications so that all the connections to the database are performed on
servlets,and no
jsp pages. But if I, for example, bookmark a web site like this and later on access it again it seems that all these pages are doing the connection to the database in the asp, jsp, php page itself, am I right.???
my question is:
* can I assume that these pages are doing the connection to the database in the JSP page itself?
* or... are they forwarding the request internally to the servlet and then forward it back to the jsp page?
* is this a good idea? I personally think it's bad, according to MVC.