Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Newbie HelloWorld Struts.xml problem

 
Ron Ingram
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Catching an exception when trying to run the HelloWorld tutorial... Can someone help please? Seems to be a struts.xml format issue



Exception....

 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ron Ingram wrote:


Looks like your interceptors element is not complete, as you have not specified a interceptor or interceptor stack. I'd recommend deleting it, as well as the global-results tag that does not have an end tag.
 
Ron Ingram
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you, now I'm back to my original exception where I'm not following the struts.xml format. Exception below:
 
Ron Ingram
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is my struts.xml file now:

 
Joe Ess
Bartender
Posts: 9280
10
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Take a hard look at that second action declaration.
 
Ron Ingram
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for not giving it away.. I did need to really look over it and follow my tags.. I moved the </action> to the proper place after the </result>.

Appreciate your time. R
 
Mohana Rao Sv
Ranch Hand
Posts: 485
Eclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
method="execute". you can take off by default execute method would be called. Because we're overriding it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic