Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning JavaServer Pages
BOOK: Beginning JavaServer Pages
This is the forum to discuss the Wrox book Beginning JavaServer Pages by Vivek Chopra, Jon Eaves, Rupert Jones, Sing Li, John T. Bell; ISBN: 9780764574856
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning JavaServer Pages section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old May 3rd, 2005, 08:36 PM
Registered User
Join Date: May 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default 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.
Old May 25th, 2005, 08:03 PM
Wrox Author
Join Date: May 2005
Posts: 4
Thanks: 1
Thanked 2 Times in 2 Posts

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:

Old November 21st, 2007, 12:54 PM
Registered User
Join Date: Oct 2007
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts

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!

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Resolved] Error: File used by another process snufse .NET Framework 2.0 2 February 18th, 2008 09:20 AM
[Resolved] Error calling a sp - parameter error snufse .NET Framework 2.0 2 February 12th, 2008 04:46 PM
(Resolved) TableAdapter Error ksamuel Pro Visual Basic 2005 1 January 16th, 2008 01:03 PM
Error: Redirect URI cannot contain newline charact ninel General .NET 0 October 30th, 2006 02:11 PM
Referrer and Uri druid2112 General .NET 1 April 20th, 2004 12:54 PM

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