Home > Articles > Programming > Java

Using the Struts Framework to Develop a Message Board--Part 7: Final Steps

📄 Contents

  1. Using the Struts Framework to Develop a Message Board--Part 7: Final Steps
  2. Closing Time
  • Print
  • + Share This
In this seven-part series, Java expert Maneesh Sahu explores how to use Apache Software Foundation's Struts framework to develop a Web-based message board. In part 7, he walks through the final steps of creating a message board.
From the author of

In this final article, we will use HTML frames to piece together the different views in the message board application.

Framed!

Create an HTML frame to connect the pieces together, as shown in Listing 1.

Listing 1 mboard.html—The All-Encompassing Frame

<frameset rows="50,*">
  <frame src="header.html">
  <frameset cols="*,*">
      <frame src="showtree.do?msgId=1" name="board">
      <frame src="help.jsp" name="message">
  </frameset>
</frameset>

The HTML file header.html contains the header for the message board, like this:

<center><h1>AuctionStation Message Board</h1></center>

Launch mboard.html in your browser. Figure 1 displays the frame after a set of posts by some users.

Figure 1

Frames in action

  • + Share This
  • 🔖 Save To Your Account