I am typically an ASP.NET programmer, and I am familiar with ASP masterpages.
Because, I also know Java, I was handed a JSP project.
I am looking for an equivalent to <asp:Content> whereby I can wrap multiple lines of code/HTML between the open and close tag; for example like so:
<asp:Content ContentPlaceHolderID="content_id" >
However, the closest thing I found is <jsp:param name="param_title" value="param_value" />, but this is an inconvient solution because the param needs to be inclosed within double quotes, whereby multiple lines of code/HTML will need be a series of concatinated strings.
String param_value =
+ "<p>Hello, World</p>"
<jsp:param name="param_title" value="<%= param_value %>" />
View Complete Post