• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 279
  • Last Modified:

<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.
0
Azharem
Asked:
Azharem
1 Solution
 
suprapto45Commented:
See if the solution from bloodredsun helps you

http://www.experts-exchange.com/Web/Web_Languages/JSP/Q_21710903.html



David
0
 
AzharemAuthor Commented:
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.
0

Featured Post

[Webinar] Kill tickets & tabs using PowerShell

Are you tired of cycling through the same browser tabs everyday to close the same repetitive tickets? In this webinar JumpCloud will show how you can leverage RESTful APIs to build your own PowerShell modules to kill tickets & tabs using the PowerShell command Invoke-RestMethod.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now