Hmm. I can never remember how all this relative path stuff works.

What happens if you make it 
<a href="/inventory.do" ...etc...

?

-----Original Message-----
From: Darrell [mailto:[EMAIL PROTECTED]
Sent: Tuesday, 10 June 2003 14:13
To: Struts
Subject: Call action from link



I have read alot of the previous posts in the archives, but still can't 
get the link to call an action.
<a href="inventory.do" onmouseover="P7_trigMM2('p7TBim40')"><img 
src="images/hbnb4.gif" alt="menu 4" name="p7TBim40" id="p7TBim40" 
width="96" height="26" border="0"></a>

I get this error:
ERROR action.RequestProcessor  - Invalid path /CSSMasters/inventory was 
requested

Is there something wrong with the way I am calling the action?

This is my action mapping:
<action-mappings>
     <action name="emerReqForm" type="metokoteca.action.RequestAction" 
validate="true" input="/CSSMasters/emergReq.htm" scope="request" 
path="/request">
       <forward name="forward" path="/CSSMasters/formSubmit.htm" />
     </action>
     <action type="metokoteca.action.InventoryAction" validate="false" 
scope="request" path="/inventory">
       <forward name="forward" path="/CSSMasters/formSubmit.htm" />
     </action>
   </action-mappings>


-- 
Darrell Bechtel,  B.G.S., MCSE



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to