On Friday, June 20, 2003, at 05:22 AM, Konstantin Priblouda wrote:



You can tell it. Look into config loaders from
sitemesh. I would not start lobbying without
knowing
where to look for this feature :)


Really? How does it work?

Really easy.


        String configFilePath =
config.getServletContext().getRealPath(configFileName);

If this returns null, we know that we are in .war and
this is not expanded - in this case forget about
resource reloading (at least for this one). If there
is real path, use it instead like file resource loader
does.


:)


Yes, but then you're stuck. I knew about this trick to figure it out, but it can't *deal* with either/or deployment, which is what I thought you were implying.


Right - neither would I.  However, you should be
able to just drop the
stuff into the war and it would work.  No need to
muck with classpath
at all.

I will look at veltools war loader today. Have small admin app which could be switched easily. I really need this feature because or portal app is growing and growing - and JSP is not an answer to your problems... We just can not buy memory as fast :(

Or patience.



regards,


=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verstärkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] für die Festanstellung.
Arbeitsort: Mainz
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


--
Geir Magnusson Jr                                   203-956-2604(w)
Adeptra, Inc.                                       203-434-2093(m)
[EMAIL PROTECTED]                                   203-247-1713(m)


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to