Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
|
JSP Basics Beginning-level questions on JSP. More advanced coders should post to Pro JSP.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the JSP Basics 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 March 10th, 2004, 02:04 PM
Registered User
 
Join Date: Jul 2003
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default JSP 2.0 p457 errata Chapter 12

I may have screwed up somewhere else and that may have required me to add the following code to Validate.jsp. But I didn't see where the author had intended to set the error page in ValidateTag.java. Here is what I added to get this application to work.

Original code:

<val:validate username="<%= username %>"
              password="<%= pwd %>"
              securePage="CustomProtected.jsp"/>

My fix:

<val:validate username="<%= username %>"
              password="<%= pwd %>"
            errorPage='/CustomError.jsp'
              securePage="CustomProtected.jsp"/>

---------------------------------------------------

If anybody knows where the author intended to set errorPage attribute please let me know.


Cheers,

newtonian







Similar Threads
Thread Thread Starter Forum Replies Last Post
JSP 2.0 p459 logic errata Chapter 12 newtonian JSP Basics 0 March 11th, 2004 01:18 AM
JSP 2.0 p458 errata Chapter 12 newtonian JSP Basics 0 March 10th, 2004 01:53 PM
JSP 2.0 p459 errata Chapter 12 newtonian JSP Basics 0 March 10th, 2004 01:42 PM
JSP 2.0 p484 errata newtonian JSP Basics 3 February 23rd, 2004 10:56 PM
JSP 2.0 p492 errata newtonian JSP Basics 0 July 24th, 2003 12:10 PM





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