In JSP chaining, what will happen if all the JSPs write to the output stream of the response usingout.println()?
A1:
In such a scenario, the output generated by all the JSPs will be collected together and sent to the browser. This is similar to the servlet chaining and filter chaining that you studied on Day 4, where each of the servlets or filters in the chain receive both the request and response objects.
Q2:
Can I add any of my own tags in JSP?
A2:
Addition of custom tags is now supported in the JSP 1.2 specification. This is done using custom tag libraries. You will be studying JSP tag libraries on Day 6.
You cannot add custom tags within the JSP apart from this method. Any such tags will be considered as HTML code and ignored by the JSP engine's parser.