aspose file tools*
The moose likes Struts and the fly likes struts2 action display nothing with no error msg Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "struts2 action display nothing with no error msg" Watch "struts2 action display nothing with no error msg" New topic
Author

struts2 action display nothing with no error msg

garrick chen
Greenhorn

Joined: Jan 16, 2010
Posts: 13
hi
there is some thing strange
suddenly all the s:action are failure and display nothing with no error message
i've checked the struts.xml and applicationContext.xml
now i have no idea why the problem show up

applicationContext.xml


struts.xml


a.jsp


b.jsp
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

What did you change?

Is devMode turned on and logging turned up? What does the config-browser plugin indicate your configuration is? What's the rest of your configuration?
garrick chen
Greenhorn

Joined: Jan 16, 2010
Posts: 13
XXXaction.java should be the reason
because i rebuild the XXXaction.java and it works well
isn't the s:action stable???
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

I don't know what you're trying to say.
garrick chen
Greenhorn

Joined: Jan 16, 2010
Posts: 13
thanks a lot
now all the s:action work well
i did sort the action and remove the setter but the members named ****Service

CustomerSortAction
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: struts2 action display nothing with no error msg
 
Similar Threads
Question related to s:select and s:action
Populating jsp page when validation fails - problem with s:action
(finished)Question related to s:select
Question related to s:doubleselect
Errr: requested resource xxxx.action is not available