Hello,
I am not sure, if I got your question right. But I try....
In addition to the action-mappings definitions, you should also define the form-bean
definition in your struts-config.
In your example it is something like this:
<!-- logon form bean -->
<form-bean name="lesson1"
type="com.jspinsider.struts.lesson1.logonform"/>
Marcel
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, September 03, 2001 11:26 AM
To: [EMAIL PROTECTED]
Subject: new at stucts
Hi !!
I'm new at structs and so i read the tutorial from the site
http://www.jspinsider.com/tutorials/jsp/struts/lesson1/l1b_struts.view
My Problem is here:
Were is the logonform integrated ?
In logon.jsp is the action of the form the longon.do.
I think I understand that:
<action-mappings>
<!-- lesson1 action -->
<action path="/lesson1/logon.jsp"
type="com.jspinsider.struts.lesson1.logonaction"
name="lesson1">
<forward name="home" path="/lesson1/home.jsp"/>
<forward name="logon" path="/lesson1/logon.jsp"/>
</action>
</action-mappings>
but where do i define that when the Enter-Button in the logon.jsp is pressed
that the logonform should be used ??
You understand my problem ???
I think its very trivial but I don't find an anwser ...