dcsimg
Including JSP's from another context no longer works in Tomcat 4.1.12
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Paul_Hamer
Posted On:   Sunday, October 20, 2002 08:36 AM

Hi All,



Since I've upgraded Tomcat 4.0.4 to 4.1.12 I can no longer include JSPs from context B into a JSP from context A, using:

			
---
This is context A
<%@ include file="../contextB/doit.jsp" %>
--

I simply get an exception: file not found. It used to work fine in Tomcat 4.0.4 and before.



How can I allow such inclusions ?



Regards,

Paul Hamer

Re: Including JSP's from another context no longer works in Tomcat 4.1.12

Posted By:   Pasha_Paterson  
Posted On:   Monday, October 21, 2002 06:20 AM

I don't know if there's an "official" solution, but you might try putting a symlink in context A that points to the file in context B. Then you can have your context A JSP refer to the link in its own context.

About | Sitemap | Contact