[Opensource] installing expresso in a subdirectory of the context

larry hamel expresso at codeguild.com
Wed Nov 6 14:55:54 PST 2002


expresso seems to work for me as a "subdirectory" already, so maybe I don't understand your goal.  in the directory structure

<container>
  webapss
    <yourApp>
      your.jsp
        expresso

all of the GUI for expresso is in a subdirectory.  the file "your.jsp" is the GUI under your control.  of course, you'll want the web.xml to point to your welcome page, not to the expresso welcome page.

can you help me understand what your goal is?

larry

At 11:39 AM 11/6/2002, you wrote:
>I've been making several fixes to the code so that it'll work in a subdirectory of the context (the 'expresso' directory as well as the action definitions). Until now, I've been using ConfigManager.getMapping on the class name of the action in order to get its mapping. Being that the class name could change as easily as the path, now I'm wondering if this is the way to go, or if we should just have a new ConfigManager property.
> 
>For path related setup values, right now we have:
>Setup Database (om.jcorporate.expresso.services.dbobj.Setup)
>- ContextPath    
>- BaseDir   ( I don't think this is currently being used - should we remove it?)
>expresso-config.xml
>- images
>- expressoDir
> 
>It looks like the new property would be most suitable in dbobj.Setup because it is a global setting.
> 
>What should we name this new property? We already have 'BaseDir', but that's the file system directory. How about 'BasePath'?
> 
>mike
> 




More information about the Opensource mailing list