dev@jsftemplating.java.net

Re: JSFTemplating: questions on JSFT projects

From: Ken Paulsen <Ken.Paulsen_at_Sun.COM>
Date: Sun, 28 Jan 2007 22:22:47 -0800

Michael Phoenix wrote:
> 1. I was looking at my succesfully built demo application. and the
> structure just does not seem to reflect standard web application. The
> build directory does not contain a WEB-INF subdirectory or a web.xml file.
The "demo" directory does.. the build directory is just that, where the
.class files are compiled. They get jar'd to app.jar which is placed in
the WEB-INF/lib.
> It resembles no standard build directory that I have ever seen in a
> web project. Is there a reason for not going along with the J2EE
> standard on this? How would you create a WAR file?
>
> 2. How is the first page that in demo accessed when you enter
> localhost:8080/demo into your browser, what tells the application
> which page to bring up first? There's no index file of any sort in demo.

Sorry, misssed this question. Look at the web.xml file for the answer.
The deployment descriptor specifies:

  <welcome-file-list>
    <welcome-file>abc.jsf</welcome-file>
  </welcome-file-list>

Thanks!

Ken