Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Java > Java and JDK > JSP Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Closed Thread
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old April 13th, 2004, 02:29 PM
Registered User
Join Date: Apr 2004
Location: Chicago, IL, .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default Problem with Action Mappings in Chps. 19-20

I'm using the sample web application in Chps. 19-20 as a guide for creating my own application. I'm having a problem getting the Action Mappings to work correctly.

I'm getting a 404 - Servlet action is not available error when I try to load my app. I've configured the pages and web.xml/struts-config.xml as demonstrated in the book.

Can anyone point me in the right direction? Below are some details from my config files...

The default page (index.jsp) has two lines. I know I'm getting to this point b/c when I change the tags I get different error messages:
<%@ taglib uri="/logic" prefix="logic" %>
<logic:redirect href="home.do"/>

My web.xml is:
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE web-app
    PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.2//EN"






My struts-config.xml file is:
<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE struts-config
    PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.0//EN"
    <form-bean name="entityForm" type="base.Entity"/>

        <action path="/home"
            <forward name="Success" path="/home.jsp"/>


Any help would be greatly appreciated.

Closed Thread

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
Chapter 20 Problem with PictureInfo joergUmbricht BOOK: Beginning Visual Basic 2005 ISBN: 978-0-7645-7401-6 0 September 30th, 2007 02:57 AM
Number(20,2) Rounding off Problem saravananedu Oracle 1 October 8th, 2005 11:10 PM
Chapter 19 Address List problem srgibson99 BOOK: Beginning VB.NET 2nd Edition/Beginning VB.NET 2003 1 June 15th, 2005 05:21 PM
Where are the database downloads for 19 and 20 bobriant62 Java Databases 0 April 7th, 2004 05:52 PM
Problem with exercise in chapter 19 backslash BOOK: Beginning Visual C++ 6 4 September 5th, 2003 11:46 AM

All times are GMT -4. The time now is 01:52 AM.

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