Link to home
Start Free TrialLog in
Avatar of Azharem
Azharem

asked on

<c:import tag unable to load xml file

I'm using weblogic 8.1 sp5.  This is how my jsp looks like:

<%@ taglib uri="/WEB-INF/x" prefix="x" %>
<%@ taglib uri="/WEB-INF/c" prefix="c" %>

<c:import url="/WEB-INF/ADVLSOG6Request.xml" var="file" />

....

I get an error message in the console window that says, "included resources or file "/lwise/WEB-INF/ADVLSOG6Request.xml" not found from requested resources /lwise/pages/ADVRequest.jsp"

The xml file is under WEB-INF directory.  I've even tried putting this file in the same directory as jsp i.e. /lwise/pages/ and changes the c:import tag to <c:import url="ADVLSOG6Request.xml" var="file" /> so that it can locate it but to no avail.  I've tried deploying both as war module and exploded directory but still gives me the same error.  I'm using JBuilder Enterprise 12 as my IDE - jsp 1.2.  Any idea how can I load this class using this tag?  or why it cannot see it?  Thanks.
ASKER CERTIFIED SOLUTION
Avatar of suprapto45
suprapto45
Flag of Singapore image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Azharem
Azharem

ASKER

Although this solution does not address my issue I'm granting 50 points for responding.  Thanks.

Admin, please close this question.  I solved the issue.  Thanks.