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]

Reply via email to