Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unspecified method

Gran Roguismo
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I don't know how many people are doing struts here, but I am having problems with an action using LookupDispatchAction

LookupDispatchAction requires that you have a map of values which will delegate the action out to a different method based on a string value passed in (in this case called method as well)

I would then have a method:

that's all working fine, but for the initial page I'm not going to it via a form and I don't wish to specify method in the url:

so I've included a unspecified parameter:

where view is set in the struts-config

that works, but only halfway. Now I can say

but I want it to be

every time I just put that in I get

javax.servlet.ServletException: Request[/V3] does not contain handler parameter named method

help is very much appreciated
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic