File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Could not parse deployment descriptor: java.io.IOException:
Joined: Apr 08, 2005
Jul 14, 2005 11:30:00
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:
: cannot resolve 'http://java.sun.com/jstl/core' into a valid tag library
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 ---
The above was not working, so I also tried in my web.xml file --
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.
Author and ninkuma
Joined: Jan 10, 2002
Jul 14, 2005 12:16:00
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
Books by Bear
Joined: Apr 08, 2005
Jul 14, 2005 13:14:00
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.
It is sorta covered in the
JavaRanch Style Guide
subject: Could not parse deployment descriptor: java.io.IOException:
JSTL and EL
using jstl with struts
installing JSTL behind firewall
new to JSTL
jstl tlds entry in web.xml
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013