Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-24-2007, 08:13 PM
Member
 
Join Date: Apr 2007
Location: Pennsylvania,USA
Posts: 46
sandor is on a distinguished road
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?
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-24-2007, 08:17 PM
Member
 
Join Date: Apr 2007
Location: Indiana
Posts: 84
pegitha is on a distinguished road
Send a message via Skype™ to pegitha
Lets see the part of the struts.config that pertains to this particular Action. Are you using Action or DispatchAction?
Bookmark Post in Technorati
Reply With Quote
  #3 (permalink)  
Old 04-24-2007, 08:20 PM
Member
 
Join Date: Apr 2007
Location: Pennsylvania,USA
Posts: 46
sandor is on a distinguished road
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.
Bookmark Post in Technorati
Reply With Quote
  #4 (permalink)  
Old 04-24-2007, 08:27 PM
Member
 
Join Date: Apr 2007
Location: Indiana
Posts: 84
pegitha is on a distinguished road
Send a message via Skype™ to pegitha
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
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Struts 1 vs Struts 2 (III) JavaForums Java Blogs 0 01-16-2008 06:51 PM
Struts 1 vs Struts 2 (II) JavaForums Java Blogs 0 01-16-2008 06:51 PM
Struts 1 vs Struts 2 (I) JavaForums Java Blogs 0 01-16-2008 06:51 PM
Struts or JSF? Swamipsn New To Java 0 08-01-2007 06:35 AM
Struts tag error with bean:write sandor Web Frameworks 1 04-07-2007 05:50 AM


All times are GMT +3. The time now is 07:44 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org