Re: Including jsp files that exist outside of the web application

2004-12-28 Thread Dakota Jack
I cannot understand your situation. If you use the include directive, then the JAVA Servlet file will include the info in the JSP file which is included. If you use the include element, then the included JSP file will have its own separate JAVA Servlet file. Accordingly, the include element

Re: Including jsp files that exist outside of the web application

2004-12-28 Thread Dakota Jack
What if you don't include the JSP file but include the related JAVA file and use CLASSPATH? Will that work? You cannot, of course, make this dynamic, since you have class loader issues. The biggest issue is the class loader issue. You might create a set of interfaces and implemenations outside

Re: Including jsp files that exist outside of the web application

2004-12-28 Thread QM
On Mon, Dec 27, 2004 at 07:11:24PM -0800, [EMAIL PROTECTED] wrote: : Is there any way to include jsp code dynamically besides the jsp:include : method? : : I'm thinking of using symbolic links... with the allowLinking flag. Then, : I can access jsp files outside of the web app by following the

Re: Including jsp files that exist outside of the web application

2004-12-28 Thread raiden
On Tue, 28 Dec 2004, Dakota Jack wrote: I am not sure what the problem is with overwriting. I am also not sure what you mean by them existing outside the web application. If by being edited outside and included in a web application is what you mean by existing outside, what is the problem?

Re: Including jsp files that exist outside of the web application

2004-12-28 Thread raiden
On Tue, 28 Dec 2004, Dakota Jack wrote: What if you don't include the JSP file but include the related JAVA file and use CLASSPATH? Will that work? You cannot, of course, make this dynamic, since you have class loader issues. The biggest issue is the class loader issue. You might create a

Re: Including jsp files that exist outside of the web application

2004-12-28 Thread raiden
On Tue, 28 Dec 2004, QM wrote: On Mon, Dec 27, 2004 at 07:11:24PM -0800, [EMAIL PROTECTED] wrote: : Is there any way to include jsp code dynamically besides the jsp:include : method? : : I'm thinking of using symbolic links... with the allowLinking flag. Then, : I can access jsp files

Re: Including jsp files that exist outside of the web application

2004-12-28 Thread Frank W. Zammetti
You know, I'm not sure how often this comes up for people, but it might make a good custom tag... I can imagine simply a version of jsp:include that allows for absolute paths. Sure, it'll tie you to an OS to some degree (i.e., change paths from Windows forms to Unix forms), but that might be

Re: Including jsp files that exist outside of the web application

2004-12-27 Thread QM
On Mon, Dec 27, 2004 at 12:22:50PM -0800, [EMAIL PROTECTED] wrote: : What is the best practice for including jsp files that exist outside the : web application? I don't think there really is one. read on: : I have seen a couple of threads of putting these : included jsp files in a separate web

Re: Including jsp files that exist outside of the web application

2004-12-27 Thread raiden
On Mon, 27 Dec 2004, QM wrote: On Mon, Dec 27, 2004 at 12:22:50PM -0800, [EMAIL PROTECTED] wrote: : What is the best practice for including jsp files that exist outside the : web application? I don't think there really is one. read on: : I have seen a couple of threads of putting these

RE: Including jsp files that exist outside of the web application

2004-12-27 Thread Brad Rhoads
On Mon, 27 Dec 2004, QM wrote: On Mon, Dec 27, 2004 at 12:22:50PM -0800, [EMAIL PROTECTED] wrote: : What is the best practice for including jsp files that exist outside the : web application? I don't think there really is one. read on: FWIW - We let our clients brand

Re: Including jsp files that exist outside of the web application

2004-12-27 Thread QM
On Mon, Dec 27, 2004 at 01:58:53PM -0800, [EMAIL PROTECTED] wrote: : Maybe that's the real question. Is there a way to include jsp code : outside of the webapp that will be compiled runtime? What about jsp:include/? (or is that %@ include /? I forget which is runtime, and which is

Re: Including jsp files that exist outside of the web application

2004-12-27 Thread raiden
On Mon, 27 Dec 2004, QM wrote: On Mon, Dec 27, 2004 at 01:58:53PM -0800, [EMAIL PROTECTED] wrote: : Maybe that's the real question. Is there a way to include jsp code : outside of the webapp that will be compiled runtime? What about jsp:include/? (or is that %@ include /? I forget which

Re: Including jsp files that exist outside of the web application

2004-12-27 Thread Liem Do
, December 27, 2004 3:10 PM Subject: Re: Including jsp files that exist outside of the web application On Mon, 27 Dec 2004, QM wrote: On Mon, Dec 27, 2004 at 01:58:53PM -0800, [EMAIL PROTECTED] wrote: : Maybe that's the real question. Is there a way to include jsp code : outside

Re: Including jsp files that exist outside of the web application

2004-12-27 Thread raiden
On Mon, 27 Dec 2004 [EMAIL PROTECTED] wrote: On Mon, 27 Dec 2004, QM wrote: On Mon, Dec 27, 2004 at 01:58:53PM -0800, [EMAIL PROTECTED] wrote: : Maybe that's the real question. Is there a way to include jsp code : outside of the webapp that will be compiled runtime? What about