Build a servlet that generates in-line content. It's part of the servlet tutorial in sun's site. What is in-line content in the context of sending data from server to client? Thanks.
posted 14 years ago
In this context, in-line content may be thought of as data or text which is intended to be included in another web page, rather than comprising a whole web page itself. Consider the folowing two simple JSPs: holder.jsp
The output of "content.jsp" should be designed to appear inside another page, so it should not generate all the <html>, <body> or whatever which a stand-alone page (such as holder.jsp) would need. content.jsp