If you are on Unix/Linux you could use symbolic links
--- Sanjeev Verma <[EMAIL PROTECTED]> wrote:
> I must warn you, this is far fetched:
>
> Place the jsp file in a central location on the hard disc of your server.
> Read up this file from inside the init() of some servlet of your 4 apps,
> which loads on startup, using normal FileReader. Once read, write this to a
> JSP file using normal FileWriter in the appropriate location.
>
> Some abstraction can be build into this process, like the location of the
> jsp file could be obtained from the web.xml in the from of a <init-param>
>
> This should work. Comments anyone???
>
> Regards
> Sanjeev
>
>
> -----Original Message-----
> From: Gupta, Gaurav [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, September 24, 2002 6:16 PM
> To: [EMAIL PROTECTED]
> Subject: How to share resources across different contexts
>
>
>
> HI ALL
>
> I have more than 4 applications(contexts). Most of the jsp pages include
> (static) a particular jsp file called Authentication.jsp. Currently this
> file is present in all the contexts, thus causing duplication. What i want
> is to have this at a common place and access it across all the contexts. Is
> there a way to do it.
>
>
>
> Thanks
>
>
>
>


=====

Mark Zawadzki Performance Engineer/DBA/Programmer extraordinaire’ [EMAIL PROTECTED] 
[EMAIL PROTECTED]

 "Democracies die behind closed doors," - Judge Damon Keith


__________________________________________________
Do you Yahoo!?
New DSL Internet Access from SBC & Yahoo!
http://sbc.yahoo.com

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to