p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: Beginning JavaServer Pages (http://p2p.wrox.com/forumdisplay.php?f=162)
-   -   chapter 2, error uri cannot be resolved in either (http://p2p.wrox.com/showthread.php?t=28896)

boylevel May 3rd, 2005 08:36 PM

chapter 2, error uri cannot be resolved in either
Error as follows.

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

I run chapter 2 first example page.

First page1 as follows.

<head><title>Select Your Portal</title></head>
<h1>Select your preferred portal:</h1>
<form action="showportal.jsp" method="get">
<select name="portchoice">
<input type="submit" value="Select"/>

Second page.

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
    <c:when test="${param.portchoice == 'news'}">
      <head><title>News Portal</title></head>
       <h1>Welcome to the News Portal!</h1>
    <c:when test="${param.portchoice == 'weather'}">
       <head><title>Weather Portal</title></head>
        <h1>You Get the Latest Weather!</h1>
    <c:when test="${param.portchoice == 'entertainment'}">
       <head><title>Entertainment Portal</title></head>
       <h1>Entertainment News Just for You!</h1>
       <head><title>System Portal</title></head>
       <h1>Application logic problem detected!</h1>

Some can help me out I don't know how to fix this problem and move on next chapter of reading.
Look forward to hear from you.

SingLi May 25th, 2005 08:03 PM

Make sure you use the code downloaded from this website:


Otherwise, you need to make sure that the WEB-INF/lib
directory contains the JSTL libraries:


taysay November 21st, 2007 12:54 PM

Tanx will give a try, but then what of the issue with the chapter 18 where WEBWORK doesnt have the folders as specified by the author, every other person seems to have issue here? what is the way forward, PlZZZZZZZZZZZZZ?

On the MOVE!

All times are GMT -4. The time now is 12:37 PM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.