Sorry, if I was subscribed to the list, I'd have attached this to Howard 
Moore's message.

I agree, I don't understand why the FormTag is stripping the path from 
the ".do" action.  This forces you to have all your jsp's in the context 
root, not arranged in directories.

I don't want to change my local copy of struts without understanding why 
the path is being stripped off, so my workaround is to use plain old html 
instead of the form tag:

My jsp contains:
  <form name="prelodgementForm" method="post" action="<%= 
request.getContextPath() %>/freight/editPrelodgement.do">

My struts-config.xml contains:
  <action 
path="/content/businesspartnersandstaff/fright/editPrelodgement" ...>

Hope that helps in the interim.

Chris Smith

Reply via email to