• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Need Help on struts....

 
lokesh rajarathnam
Ranch Hand
Posts: 35
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)*"


Strutshome.jsp




LoginActionServlet



LoginForm



web.xml



struts-config.xml


 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34973
378
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Lokesh,
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.
 
Ashimashi Kabashi
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you mite want to nest the forward tags inside the action tags
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic