dev@jsftemplating.java.net

Re: getting back into jsft - question on testing code changes to glassfish

From: Michael Phoenix <michaelandrewphoenix_at_gmail.com>
Date: Sat, 2 Jun 2007 21:09:22 -0700

OK I moved the files to WEB-INF/lib, deployed docroot, and set the DEBUG
parameter to "true". Now when I set the browser to "locolhost:8080\xxx.jsf",
it displays a blank page not matter what .jsf file it points to. I thought
that this would let me view the jsf pages. What am I missing here?

On 6/2/07, Ken Paulsen <Ken.Paulsen_at_sun.com> wrote:
>
>
>
> When you built GlassFish, you have a directory:
>
> .../glassfish/admin-gui/src/docroot
>
> This is the "docroot" directory I am talking about. This directory is
> part of the source code of the application. You will see it doesn't have
> any jar files in ".../glasfish/admin-gui/src/docroot/WEB-INF/lib/*". You
> need to have them there if you want to deploy the "docroot" directory on
> GlassFish. If you do this, then every file in this directory is directly
> accessed when you visit: http://localhost:8080/docroot/<file> (where
> "docroot" in the url is the "contextroot" which is configured to point to
> .../glassfish/admin-gui/src/docroot).
>
> Deploying this directory can be done via the admin console (
> http://localhost:4848). Goto Web Applications, and click the deploy
> button.
>
> The jar files you need to copy will exist in a directory like
> .../publish/glassfish/lib/install/applications/admingui/adminGUI_war/WEB-INF/lib/*.
>
> When I say "deploy your source" I mean deploy the directory containing the
> source files for this web app (in this case
> ".../glassfish/admin-gui/src/docroot").
>
> Ken
>
>
>