• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

CodebehindUnknownHandler problem

 
Mick Smith
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have this big problem. When I start my application in Eclipse IDE, it starts fine and I can use my action classes with no problems.
When I export my war file into my Tomcat Server, I start the application(again fine and no problem). However, I get this error

org.apache.struts2.codebehind.CodebehindUnknownHandler - Trying to locate result with extension .jsp in directory /generic/

Anyone know why this is happening? My application used to work in the tomcat server but now its not working. I havent changed classpath or anything to do with struts.

Is it possible something to do with struts.xml and namespaces?

your help is appreciated and urgent.

thanks
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
*Something* changed.

Codebehind is deprecated, by the way.
 
Mick Smith
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Basically the actions fire properly when I am in Eclipse. As soon as I run my app in Tomcatserver, the actions are not picked up and subsequently not fired and I get this codebehindUnknownhandler issue.

I have a struts.xml which references other .xml files (these are my different sections in the application i.e: namespaces).

What could cause tomcat not picking up these actions in the other xml files and only picks up the ones in struts.xml?/

thanks for any assistance as this thing is really killing me
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd guess (and it's just a guess, since there's essentially zero information to work with) that something isn't being deployed. But impossible to say.
 
Mick Smith
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem seems to have dissapeared!.. I rebuilt several times and all of a sudden I am not getting this anymore.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic