Java Reference
In-Depth Information
Dynamic Web projects work differently than Java projects. Servers require that a server-based application's
components (Web pages, java classes, etc.) be stored in specific folders. For instance, html files must reside in the
WebContent folder. Generally, you don't have to worry about this, because:
A.
RAD automatically builds the correct folders when the Web project is created.
B.
When you create a file in a Web project, RAD will put the file in the correct folder based on
the file type.
Let's prove it.
14.
Select TutorialsWeb and then perform steps 3 through 6 from above.
Notice that RAD has already specified WebContent as the folder to hold the file.
15.
At the New Web Page frame, select HTML/XHTML (beneath Basic Templates), specify
Howdy as the File Name (see Figure 8-5 ), and click Finish.
Figure 8-5.
A blank Web page is created and displayed. What this means is that RAD created the Howdy.html file in the
WebContent folder then generated and stored the HTML that defines the Howdy Web page in the file. RAD then
started Page Designer and displayed the Howdy page in the Page Designer Design view.
Search WWH ::




Custom Search