This week's book giveaway is in the Design forum.
We're giving away four copies of Building Microservices and have Sam Newman on-line!
See this thread for details.
The moose likes Struts and the fly likes LookupDispatchAction : does not contain method named 'nextMonth' Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Building Microservices this week in the Design forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "LookupDispatchAction : does not contain method named Watch "LookupDispatchAction : does not contain method named New topic
Author

LookupDispatchAction : does not contain method named 'nextMonth'

Ricardo Estafan
Ranch Hand

Joined: Mar 29, 2004
Posts: 84
Hi y'all,

i created a LookupDispatchAction the mapping works fine, meaning it can find the key, but when it heads for the method (the value of the map) i receive the following exception :


The link is displayed as following :


The Action looks like this :


My struts-config.xml looks like this :


Why on earth can't he find the method, again this is not a problem on the key of the map.

Michael Arndt
Greenhorn

Joined: Feb 25, 2003
Posts: 21
try changing the method's visibility from protected to public.

regards,
Michael
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: LookupDispatchAction : does not contain method named 'nextMonth'
 
It's not a secret anymore!