This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes Struts and the fly likes need help in strut 2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "need help in strut 2" Watch "need help in strut 2" New topic
Author

need help in strut 2

pankaj semwal
Ranch Hand

Joined: Oct 07, 2008
Posts: 300
Hi,
I am getting the following error
exception

javax.servlet.ServletException: com.consulting.action.ApplyOnlineAction.show()
org.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:518)
org.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:421)


root cause

java.lang.NoSuchMethodException: com.consulting.action.ApplyOnlineAction.show()
java.lang.Class.getMethod(Unknown Source)

my Action class is

My strut.xml is




Please help me.
David Newton
Author
Rancher

Joined: Sep 29, 2008
Posts: 12617

How are you accessing the action? Via a URL? From a form?
 
 
subject: need help in strut 2
 
Similar Threads
struts2 properties file reload
No result defined for action
Struts2 newbie: Exception during startup
a4j is not defined
Struts 2 error