Wednesday, January 30, 2008

Technical: JSP and Servlet Communication

The diagram below shows the best practices of JSP and Servlet communication implementation.

1 comment:

  1. Good suggestion to combine JSP with Servlet. I will add on something from here.

    All of you will be asking this question since we attended our Session-2 lecture by Adrian Choo..

    "So what?" or "Why".

    I think the ans will be..

    JSP allows user browser to capture its session ID, as a hidden field, then send to a servlet using a post method, so as to validate with the same ID used by server.



    I don't think normal html is capable of doing that right?

    ReplyDelete