Discussions

Web tier: servlets, JSP, Web frameworks: template or include

  1. template or include (2 messages)

    Which is a better way to create a view in a j2ee application. Forwarding the jsp to a template or including the common pages in the jsp to be returned to the client.

    Threaded Messages (2)

  2. template or include[ Go to top ]

    Neither. Servlets are better for presentation.
  3. template or include[ Go to top ]

    typically in MVC, you would use JSPs for the presentation layer. personally, I use includes.