[Opensource] installing expresso in a subdirectory of the
context
larry hamel
expresso at codeguild.com
Thu Nov 7 15:01:07 PST 2002
oh, that helps.
you might be able to do something with servlet mappings. can you point ".do" to the directory of interest? --just guessing; I haven't tried it. I have added a /do/ mapping to suit my URL tastes.
larry
At 11:34 AM 11/7/2002, you wrote:
>Here's my directory structure:
>www.domain.org/ is the webapp (root context)
>www.domain.org/network contains the 'expresso' directory and should be the
>path for all of the controllers mappings (like
>www.domain.org/network/Login.do)
>
>The problem is that the jsps for DBMaint and most of the admin stuff just
>references absolute paths, such as /DBMaint.do which translates into
>www.domain.org/DBMaint.do, not www.domain.org/network/DBMaint.do .
>
>Mike
>
>-----Original Message-----
>From: opensource-admin at jcorporate.com
>[mailto:opensource-admin at jcorporate.com]On Behalf Of larry hamel
>Sent: Wednesday, November 06, 2002 4:56 PM
>To: opensource at jcorporate.com
>Subject: Re: [Opensource] installing expresso in a subdirectory of the
>context
>
>
>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
>>
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/
>
>_______________________________________________
>Opensource mailing list
>Opensource at jcorporate.com
>http://mail.jcorporate.com/mailman/listinfo/opensource
>Archives: http://mail.jcorporate.com/pipermail/opensource/
More information about the Opensource
mailing list