1 2 Previous Next 15 Replies Latest reply on Apr 9, 2008 2:37 PM by Hassane El Ghachtoul

    Newbie need help

    Hassane El Ghachtoul Newbie

      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" %>
      <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">
      <input type="submit" value="Submit">
      <input type="reset" value="Reset">
      <c:if test="${fn:length(param.username) > 0}" >
       <%@include file="response.jsp" %>

      if i don't declare any taglib the program runs, obviously without interpreting the core and functions tags

      thanks for looking through my problem

        1 2 Previous Next