I too got the same error.My mistake was in struts-config.xml (which is under
folder /WEB-INF/struts-config.xml).
where I gave a different name for the package and trying out with type as
"logon.LogonForm" and "logon.LogonAction" as in the tutorial.Later I named
my package as logon and corrected it.It worked.
<!-- ========== Form Bean Definitions ===================================
-->
<form-beans>
<form-bean name="logonForm" type="logon.LogonForm"/>
</form-beans>
<!-- ========== Action Mapping Definitions ==============================
-->
<action-mappings>
<action path="/logon"
type="logon.LogonAction"
name="logonForm">
Thanks
-----Original Message-----
From: Tamanaei, ITS PersWi C500, DA [mailto:[EMAIL PROTECTED]]
Sent: Thursday, August 23, 2001 7:50 AM
To: '[EMAIL PROTECTED]'
Subject: bluestone trail 6
Importance: Low
I tried bluestone Trail 6
the jsp is simple:
<%@ page language="java" %>
<%@ taglib uri="/WEB-INF/struts-form.tld" prefix="form" %>
<HTML>
<HEAD><TITLE>Logon</TITLE></HEAD>
<BODY bgcolor='silver'>
<form:form action='logon.do'>
Username: <form:text property='username'/>
Password: <form:text property='password'/>
<form:submit value='OK'/>
</form:form>
</BODY>
</HTML>
I got the following exception:
"javax.servlet.ServletException: Cannot find ActionMappings or
ActionFormBeans collection "
Thanks for any help!
Ebi