Yen, maybe we should explain the syntax errors, eh?

SJ, your form-bean and action elements were closed with the "/>" tag, then
you added contents, and then, again, you added the other "</form-bean>" and
"/action>" closing tags.  You need to either close as a stand-alone tag
"<tagname ... />" OR use "<Tagname .... > .... something ... </tagname>"

For example, your form-bean tag should be either:

<form-bean name="submitForm"
        type="myapp.submitForm"/>
OR
<form-bean name="submitForm"
        type="myapp.submitForm">
</form-bean>

The same goes for your <action ....> tag.

Since you seem new to this, perhaps you should review XML on proper tag
closure.  Check out w3schools.com's XML tutorial at:
http://www.w3schools.com/xml/default.asp

Regards,
David

-----Original Message-----
From: Yen [mailto:[EMAIL PROTECTED]
Sent: Sunday, December 26, 2004 9:29 PM
To: Struts Users Mailing List
Subject: Re: Error: Cannot find ActionMappings or ActionFormBeans
collection


your strust.xml consists of syntax error

rgds,

----- Original Message -----
From: "SJ" <[EMAIL PROTECTED]>
To: <user@struts.apache.org>
Sent: Monday, December 27, 2004 10:25 AM
Subject: Error: Cannot find ActionMappings or ActionFormBeans collection


> Hi,
>
> I've been trying to google this error for a while now, but havent found
> a solution to it.
>
> My directory structure is as follows :
>
> $CATALINA_HOME/webapps/myapp/WEB-INF/classes/myapp/<all my classfiles>
>
> My web.xml, struts-config.xml and JSP file look like this :
>
> http://www.simplyrender.com/Files.html
>
>
> please let me know if I need to paste the file content directly in this
> post.
>
>
> Thank you.
> ~SJ.


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


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

Reply via email to