Results 1 to 4 of 4

Thread: struts error

  1. #1
    sandor is offline Member
    Join Date
    Apr 2007
    Location
    Pennsylvania,USA
    Posts
    45
    Rep Power
    0

    Default struts error

    I am getting this error with struts when I click on a link that is supposed to take me to another page:
    javax.servlet.ServletException: DispatchMapping[/protocolListRequest] does not define a handler property

    Any idea what that means?

  2. #2
    pegitha is offline Member
    Join Date
    Apr 2007
    Location
    Indiana
    Posts
    83
    Rep Power
    0

    Default

    Lets see the part of the struts.config that pertains to this particular Action. Are you using Action or DispatchAction?

  3. #3
    sandor is offline Member
    Join Date
    Apr 2007
    Location
    Pennsylvania,USA
    Posts
    45
    Rep Power
    0

    Default

    Sorry. Here is the part of the struts.config :
    <action path="/protocolListRequest" type="web.ProtocolListRequestAction" name="protoclListForm" scope="request">
    <forward name="success" path="/protocolSelectionPopup.jsp" />
    </action>

    Also , the action ProtocolListRequestAction extends DispatchAction.
    thanks.

  4. #4
    pegitha is offline Member
    Join Date
    Apr 2007
    Location
    Indiana
    Posts
    83
    Rep Power
    0

    Default

    YOu need to add parameter="dispatch" or whatever you are naming your parameter that calls your action method. I always call it dispatch but I have noticed people call it other things. Anyway, in your call it would be something like this:
    /someAction.do?dispatch="methodIAmCalling"
    p

Similar Threads

  1. Struts or JSF?
    By Swamipsn in forum New To Java
    Replies: 0
    Last Post: 08-01-2007, 06:35 AM
  2. Struts tag error with bean:write
    By sandor in forum Web Frameworks
    Replies: 1
    Last Post: 04-07-2007, 05:50 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •