Two Laptop Bag
The moose likes JSP and the fly likes help on c:import tag problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "help on c:import tag problem" Watch "help on c:import tag problem" New topic

help on c:import tag problem

Priyha Jootu
Ranch Hand

Joined: Sep 13, 2001
Posts: 47
Hi all,
I am trying to use the c:import tag, i have set up the configuration in tomcat 4.0.3 with whatever instructions the JSTL said.
Here is the jsp code:
<%@ page import="*" %>
<%@ taglib uri="" prefix="c" %>
<c:import url="" />
Basically i want to access the files from different servers and machines in my JSP . jsp:include only looks files inside the web application context directory. so I used c:import for this. i tried a small example and it is not working.
It throws the following error when i run this:
Not sure what is missing, please let me know what is causing this error.

If anyone know whats the problem, please let me know.
Ron Newman
Ranch Hand

Joined: Jun 06, 2002
Posts: 1056
I put exactly those lines into my JSP and don't get that error. I get a Google page (with the graphics missing).

Ron Newman - SCJP 1.2 (100%, 7 August 2002)
I agree. Here's the link:
subject: help on c:import tag problem
It's not a secret anymore!