tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ihab A.B. Awad" <>
Subject <jsp:include> does nothing
Date Tue, 24 Aug 2004 19:37:35 GMT
Hi folks,

I am trying to get a <jsp:include> tag to include the contents of a CGI 
which is deployed in the same webapp using the CGI servlet.

My JSP page is mapped (webapp relative) to --


and my CGI mapping is to the path --


In my JSP page, the following --

   <jsp:forward page="cgi-bin/search/"/>

works as exected, returning the complete results of invoking the CGI. 
(Thus, it seems to me, the general ability to invoke CGIs from my JSPs 
is proven.) However, the following --

   <jsp:include page="cgi-bin/search/"/>

is a no-op: nothing gets included in the output. Now, doing --

   <jsp:include page="test.jsp"/>

where "test.jsp" is a simple JSP page, works just fine.

What could be the problem? Am I ignorant of a configuration parameter 
somewhere? Any and all help appreciated. Regards and peace,


Ihab A.B. Awad <>
Snr Scientific Programmer, Dept of Genetics

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message