struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Hill" <andrew.david.h...@gridnode.com>
Subject RE: Call action from link
Date Tue, 10 Jun 2003 06:55:21 GMT
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:skipp@rogers.com]
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: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message