Hello.

Some days ago I looked in source code of project in ASP.net 2.
Here I saw a good architectural alternative to:

<%@ include file="/include/header.jsp" %>
  body
<%@ include file="/include/footer.jsp" %>

It looks like this:

Page 1:
<%@  CodeFile="EditUsers.aspx.cs" MasterPageFile="~/Default.master"   %>
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1"
Runat="Server">
 content 1+ asp.net controls
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2"
Runat="Server">
 content 2 + asp.net controls
</asp:Content>

and Template page=Default.master:

<%@ Master Language="C#"  EnableTheming="True" %>
<head>...</head>
<body>
   col1
<div align="left">
    <asp:ContentPlaceHolder ID="ContentPlaceHolder1" runat="server">
    </asp:ContentPlaceHolder>
</div>
   col2 
<div align="right">
    
    
</div>
</body>

 Do we have some similar mechanism is JSP 2 + struts2?

Or Do i must use struts2+....+....  library?


-- 
View this message in context: 
http://www.nabble.com/Do-we-have-such-alternative--tp18441301p18441301.html
Sent from the Struts - User mailing list archive at Nabble.com.

Reply via email to