Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning JavaServer Pages
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old May 3rd, 2005, 08:36 PM
Registered User
Join Date: May 2005
Location: Toronto, ON, Canada.
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.
Reply With Quote
  #2 (permalink)  
Old May 25th, 2005, 08:03 PM
Wrox Author
Join Date: May 2005
Location: , , .
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:

Reply With Quote
  #3 (permalink)  
Old November 21st, 2007, 12:54 PM
Registered User
Join Date: Oct 2007
Location: Lagos, Lagos, Nigeria.
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!
Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

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

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