File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Need Help on struts.... Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java Interview Guide this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Need Help on struts...." Watch "Need Help on struts...." New topic

Need Help on struts....

lokesh rajarathnam
Ranch Hand

Joined: May 17, 2007
Posts: 35
Hello all

Im new to struts,(using struts1.3) I need help....

I writen ActionForm and ActionServlets for an loginform...
after running my code i getting following error.....

The content of element thype "action-mappings" must match "(action)*"






Jeanne Boyarsky
author & internet detective

Joined: May 26, 2003
Posts: 33132

In your struts config file, the XML is malformed. You must have matching opening and closing tags. Also note that the action should be within an action-mappings tag. See section 5.3.3 for an example.

[OCA 8 book] [Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Other Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, TOGAF part 1 and part 2
Ashimashi Kabashi
Ranch Hand

Joined: Sep 11, 2006
Posts: 84
you mite want to nest the forward tags inside the action tags
I agree. Here's the link:
subject: Need Help on struts....
It's not a secret anymore!