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/ADVLSOG6Requ est.xml" var="file" />
....
I get an error message in the console window that says, "included resources or file "/lwise/WEB-INF/ADVLSOG6Re quest.xml" not found from requested resources /lwise/pages/ADVRequest.js p"
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.
<%@ taglib uri="/WEB-INF/x" prefix="x" %>
<%@ taglib uri="/WEB-INF/c" prefix="c" %>
<c:import url="/WEB-INF/ADVLSOG6Requ
....
I get an error message in the console window that says, "included resources or file "/lwise/WEB-INF/ADVLSOG6Re
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Admin, please close this question. I solved the issue. Thanks.