struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ajTreece <aj.tre...@sun.com>
Subject Re: A basic action mapping doesn't work
Date Thu, 06 Jun 2002 11:51:40 GMT
createMediaDesc is your "action" so the forward path should be "/createMediaDesc.do"


Later, aj


If it is an action then try path="/createMediaDesc.do"
If it is a tiles definition then try path="creatMediaDesc"

Aleksi Kallio wrote:

> I have this action mapping:
> 
>     <action path = "/createMediaDesc"
>             type = "fi.funet.medar.actions.UpdateRecording"
>             name = "RecordingForm"
>            scope = "session">
>          <forward name = "success" path = "/insert_ok.jsp" />
>          <forward name = "review" path = "/createMediaDesc" />
>     </action>
> 
> 
> It produces the following error (HTTP Error 404):
> 
> type: Status report
> message: /createMediaDesc
> description: The requested resource (/createMediaDesc) is not available.
> 
> 
> The funny thing is that if type attribute is replaced with a forward,
> everything works fine...
> 
> 
> --
> To unsubscribe, e-mail:   <mailto:struts-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:struts-user-help@jakarta.apache.org>
> 



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


Mime
View raw message