| Author |
Newbie HelloWorld Struts.xml problem
|
Ron Ingram
Ranch Hand
Joined: Mar 11, 2011
Posts: 60
|
|
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
Joined: Oct 29, 2001
Posts: 8263
|
|
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.
|
"blabbing like a narcissistic fool with a superiority complex" ~ N.A.
[How To Ask Questions On JavaRanch]
|
 |
Ron Ingram
Ranch Hand
Joined: Mar 11, 2011
Posts: 60
|
|
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
Joined: Mar 11, 2011
Posts: 60
|
|
This is my struts.xml file now:
|
 |
Joe Ess
Bartender
Joined: Oct 29, 2001
Posts: 8263
|
|
|
Take a hard look at that second action declaration.
|
 |
Ron Ingram
Ranch Hand
Joined: Mar 11, 2011
Posts: 60
|
|
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
Joined: Aug 01, 2007
Posts: 485
|
|
|
method="execute". you can take off by default execute method would be called. Because we're overriding it.
|
ocjp 6 — Feeding a person with food is a great thing in this world. Feeding the same person by transferring the knowledge is far more better thing. The reason is the amount of satisfaction which we get through food is of only one minute or two. But the satisfaction which we can get through the knowledge is of life long.
|
 |
 |
|
|
subject: Newbie HelloWorld Struts.xml problem
|
|
|