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 August 2nd, 2004, 01:47 PM
Registered User
Join Date: Apr 2004
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Can't get errors to display with <html:errors>

I'm using the sample app in Chps. 19-20 of the Beg. JSP Web Dev. book. I have the application working, but can't get my form error messages to display properly.

I have the <html:errors> line in my .jsp pages and am creating a new ActionError whenever something goes wrong. The ActionError is working properly, but I must be missing something that's breaking this.

Can anyone lend a hand? Here's what I have:


error.incorrect.passwords=Passwords do not match

 } catch (Throwable e) {
            ActionError error = new ActionError(e.getMessage());
 return new ActionForward(mapping.getInput());

<%@ taglib uri="/bean" prefix="bean" %>
<%@ taglib uri="/html" prefix="html" %>
<%@ taglib uri="/logic" prefix="logic" %>
<%@ taglib uri="/template" prefix="template" %>


Can anyone see what I'm missing?
Thanks in advance?

Similar Threads
Thread Thread Starter Forum Replies Last Post
HTML Import Errors: anandham Classic ASP Basics 1 December 4th, 2005 05:26 PM
How to display errors ke00c PHP How-To 1 November 13th, 2004 04:15 PM
HELP: XSL -> HTML <select selected=true> jedbartlett XSLT 4 October 7th, 2004 11:16 PM
Calendar display errors barun55 General .NET 1 May 26th, 2004 07:30 AM
Dynamic HTML <<Events>> babloo81 Javascript 2 December 29th, 2003 12:40 PM

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