Mail Archive Home | enhydra List | January 2004 Index
| <-- Date Index --> | <-- Thread Index --> |
|
Hi, More details
about "Server.ClassPath[]", "Server.PresentationPrefix" and
"Application.DefaultUrl" configurational parameters. Meaning of these
parameters: ----------------------------------- Server.ClassPath[] - Comma
separated CLASSPATH directories and files used by this application.
Assumes run from the output
directory for debugging. If you run from the jar you must rebuild after
every change to the app. Server.PresentationPrefix -
Prefix used to derive presentation object class names and paths
from URLs. Assumes run from
the output directory for debugging. Application.DefaultUrl - If
the URL "/" for this application is accessed, the user will be
redirected to this URL.
This should be a relative URL. For
example: You have Your "classes"
directory that contains "test" subdirectory. Server.ClassPath[] =
"<path_to_patent_directory>/classes" Server.PresentationPrefix = "test" Application.DefaultUrl = "media/Enhydra.gif" NOTE:
Server.PresentationPrefix has to (relatively from the parent directory, defined
as Server.ClassPath[] element) lead to
subdirectory of directory defined in Server.ClassPath[].
If static resource is
referenced from file that is placed in Server.PresentationPrefix
directory (or it's subdirectories) it
should be referenced "relatively from file that it is referenced
from"! NOTE: Static resource that
is referenced has to be placed in Server.PresentationPrefix
directory (or it's subdirectories)
also! Regards, Sinisa
Milosevic, Together
Serbia
|
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.