Hi Simons, I think what Dave is saying is that in this case your form bean 
should look like this:

<form-bean name="testForm" type="test.testForm"/>

(look at the type - it should have the fully qualified path name..)

Regards,
Geeta




"Simons Kevin" <[EMAIL PROTECTED]> 
08/08/2005 01:53 PM
Please respond to
"Struts Users Mailing List" <user@struts.apache.org>


To
"Struts Users Mailing List" <user@struts.apache.org>
cc

Subject
{Spam?} Re: Resin and struts






package test;

import org.apache.struts.action.ActionForm;

import org.apache.struts.action.ActionMapping;


public class testForm extends ActionForm {


private String name;

public testForm() {}


public void setName(String name) {

this.name = name;

}

public String getName() {

return name;

}

}

yes (that's also why my java files are under classes and my class files 
are 
under classes/test/)

I use jdk1.5 so I am obliged to use the package statement (afaik this is a 

must after 1.4.1)



----- Original Message ----- 
From: "Dave Newton" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <user@struts.apache.org>
Sent: Monday, August 08, 2005 7:44 PM
Subject: Re: Resin and struts


> Simons Kevin wrote:
>
>>    <form-bean name="testForm" type="testForm"/>
>> [...]
>> My classes are stored in webapps/tests/web-inf/classes/test
>
> If they're in WEB-INF/classes/test
>
> then
>
> (a) do you have a "package test;" at the top of your testForm class 
file?
> (b) type would be "test.testForm"
>
> Dave
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>
>
> -- 
> No virus found in this incoming message.
> Checked by AVG Anti-Virus.
> Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 4/08/2005
>
> 



-- 
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.338 / Virus Database: 267.10.1/64 - Release Date: 4/08/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



CONFIDENTIALITY NOTICE:This email is intended solely for the person or 
entity to which it is addressed and may contain confidential and/or 
protected health information.  Any duplication, dissemination, action 
taken in reliance upon, or other use of this information by persons or 
entities other than the intended recipient is prohibited and may violate 
applicable laws.  If this email has been received in error, please notify 
the sender and delete the information from your system.  The views 
expressed in this email are those of the sender and may not necessarily 
represent the views of IntelliCare.

Reply via email to