#1
  1. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    florence , italy
    Posts
    3
    Rep Power
    0

    jsp newbe [tomcat problem]


    hi there.
    im just deploying with java server pages..
    but i have a problem with Tomcat.

    I got this answer from tomcat while trying to run this page


    <%@taglib prefix="c" uri="http://java.sun.com/jstl/core"%>
    <html>
    <body>
    <c:set var="sessioncounter" scope="session" value="${sessionCounter +1}" />
    <c:set var="appcounter" scope="application" value="${appcounter +1}" />

    <h1>Visitato</h1>
    Questa pagina stata visitata <b><c:out value="{sessioncounter}" /></b> in questa sessione.<br>
    Mentre stata visitata <b><c:out value"{appcounter}" /></b> nell'applicazione.
    java server pages

    </body>
    </html>


    i got this error



    org.apache.jasper.JasperException: This absolute uri (http://java.sun.com/jstl/core) cannot be resolved in either web.xml or the jar files deployed with this application


    my application tree is

    /alessio/WEB-INF
    /alessio/WEB-INF/web.xml (i've just copied that from another application, dunno how build it)
    /alessio/WEB-INF/lib (empty, dunno what i've to put in)
    /alessio/WEB-INF/classes (empty, dunno what i've to put in)

    what i have to do?
    im a newbe :)

    thx for help guys.
  2. #2
  3. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
    There are tutorials about jsp here on Devshed (called "The JSP files") one of them describes how to install a taglib.
  4. #3
  5. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    florence , italy
    Posts
    3
    Rep Power
    0
    i cant found the tld files for this library.
    i fount that example on "javaserver pages" O'really book..
    it doesnt explain where get this library.

    it simply put in.
    shall you help me more?
    thx again
  6. #4
  7. Modding: Oracle MsSQL Firebird
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2001
    Location
    Outside US
    Posts
    8,527
    Rep Power
    539
  8. #5
  9. No Profile Picture
    Junior Member
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2003
    Location
    florence , italy
    Posts
    3
    Rep Power
    0
    thx a lot pabloj!

IMN logo majestic logo threadwatch logo seochat tools logo