This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
When I enter the URL http://localhost/customer/schedule/appt.do?id=1234, the request directly goes to org.xyz.web.portlets.customer.scheduleappointment.DispatchViewAction. Why does not the request go to org.xyz.web.portlets.customer.scheduleappointment.SelectApptAction?
What am I doing wrong? SHoudn't the requests with URI customer/schedule/appt.do go to the action class SelectApptAction.java? My SelectApptAction.java has a mapping.findForward("success"); statement.
Per my understaing any request to customer/schedule/appt is processed by SelectAppAction.java and forwarded to /customer/schedule/view which is handled by DispatchViwAction. and
I am confused by your mappings. You do not have a class specified for your actions (type). I am not sure what the file struts-actions.xml is used for, but you have what look to be Action classes defined as beans. What version of Struts are you using?