[jboss-user] [Beginners Corner] - Newbie need help
hassane
do-not-reply at jboss.com
Wed Apr 9 11:43:04 EDT 2008
Hi everyone,
i dunno if my problem is stupid but here's what im stuck at....
i just started with JBoss today and now i try to run a sample example, the hello1 sun's example.
im using JBoss 4.0.2 server and a jre 1.5
the deployement seems to work
INFO [TomcatDeployer] deploy, ctxPath=/hello1, warUrl=file:/C:/AOSI-EclipseD2I-v1.3.0/jboss/jboss-4.0.2/server/default/deploy/hello1.war/
|
| INFO [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/C:/AOSI-EclipseD2I-v1.3.0/jboss/jboss-4.0.2/server/default/deploy/jmx-console.war/
but then an error occures :
ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
| org.apache.jasper.JasperException: The absolute uri: http://java.sun.com/jsp/jstl/core cannot be resolved in either web.xml or the jar files deployed with this application
here's the index.jsp :
|
| <%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
| <%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
| <html>
| <head><title>Hello</title></head>
| <body bgcolor="white">
| <img src="duke.waving.gif">
|
| <h2>Hello, my name is Duke. What's yours?</h2>
| <form method="get">
| <input type="text" name="username" size="25">
| <p></p>
| <input type="submit" value="Submit">
| <input type="reset" value="Reset">
| </form>
|
| <c:if test="${fn:length(param.username) > 0}" >
| <%@include file="response.jsp" %>
| </c:if>
| </body>
| </html>
|
if i don't declare any taglib the program runs, obviously without interpreting the core and functions tags
thanks for looking through my problem
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4142819#4142819
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4142819
More information about the jboss-user
mailing list