This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes Could not parse deployment descriptor: java.io.IOException: Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "Could not parse deployment descriptor: java.io.IOException:" Watch "Could not parse deployment descriptor: java.io.IOException:" New topic
Author

Could not parse deployment descriptor: java.io.IOException:

Ajay Reddy
Ranch Hand

Joined: Apr 08, 2005
Posts: 43
Hello Friends,

Thanks for taking the time to ready my post.

I am trying to use JSTL tags in my jsp running Weblogic 8.1 SP3. This is the error I get ----

weblogic.servlet.jsp.JspException: (line 5): Could not parse deployment descriptor: java.io.IOException: cannot resolve 'http://java.sun.com/jstl/core' into a valid tag library

My JSP page ---
1 <%@ page contentType="text/html; charset=iso-8859-1" language="java" import="java.util.*"%>
2 <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
3 <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
4 <%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
5 <%@ taglib uri="http://java.sun.com/jstl/core" prefix="c" %>

I have unjared the standard.jar files and placed them under WEB-INF and the path looks something like this ---
WEB-INF\classes\org\apache\taglibs\standard

The above was not working, so I also tried in my web.xml file --

<taglib>
<taglib-uri>jstl/c</taglib-uri>
<taglib-location>/WEB-INF/c.tld</taglib-location>
</taglib>

I have the c.tld file under WEB-INF folder, and in my JSP --
<%@ taglib uri="jstl/c" prefix="c"%>, but my IDE is not able to resolve this (i.e. It shows 'jstl/c' in RED).

Eagerly waiting for responses.

Thanks once again.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60789
    
  65

I have unjared the standard.jar files


Don't do this. Simply place jstl.jar and standard.jar in WEB-INF/lib


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Ajay Reddy
Ranch Hand

Joined: Apr 08, 2005
Posts: 43
The problem was that, I forgot to include the c.tld file as a resource in my IDE settings (intelliJ).

By the way, I added the jstl and standard.jar files under WEB-INF/lib directory.

Thanks for helping me solve this problem.
 
wood burning stoves
 
subject: Could not parse deployment descriptor: java.io.IOException:
 
Similar Threads
JSTL and EL
new to JSTL
using jstl with struts
installing JSTL behind firewall
jstl tlds entry in web.xml