On 11/3/05, Robert Butera <[EMAIL PROTECTED]> wrote:
>
> I am attempting to import a JSP file into a JSP using the <c:import> tag.
>
> The line looks something like this:
> ...
> <c:import url="file://c:/dira/dirb/imported-file.jsp"/>
> ..
>
> "imported-file.jsp" is being found ok, but it is not being processed as a
> JSP, it is appearing as static text.


That's because, since you are using a file URL, the request is not being
made via HTTP, and thus is not being processed by a container as a JSP page
request. You'll need to use an HTTP (or HTTPS) URL to get the file processed
as JSP.

--
Martin Cooper


I am using some struts tags in "
> imported-file.jsp" that are just getting sent to the browser. Is there
> something I'm doing wrong here? Is there something I need to place around
> the <c:import> to make the imported file get processed?
>
> I am running this on jboss 4.0.1 (tomcat 5.0) with JSTL 1.1.
>
> Any help would be greatly appreciated.
>
> Rob
>
>

Reply via email to