Maybe a stupid question, but I guess it never hurts to check.  Is the
servlet properly mapped, and are you using the correct pattern to call the
URL?

For kicks, mark the second action as your unknown action and then send some
random request ( e.g. "blah.do" ) and see what happens there.

> -----Original Message-----
> From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 8:43 AM
> To: [EMAIL PROTECTED]
> Subject: Struts ActionMapping / OC4J problem
> 
> 
> Dear colleagues,
> 
> I have a problem configuring Struts to run properly with the 
> embedded OC4J
> app server in Oracle 9i JDeveloper.
> 
> It can only find the first Action Object of these two ActionMappings I
> configured.
> 
> <action-mappings type="org.apache.struts.action.ActionServlet">
>     <action path="/ProcessForm" type="appaction.ProcessForm"
>             name="TrekkerFormBean" scope="request"
>             input="/trekker/keuringsformulier.jsp" validate="true">
>       <forward name="succes" path="/succes.jsp"/>
>       <forward name="failure" path="/failure.jsp"/>
>     </action>
>     <action path="/GetKeuringsForm" type="appaction.GetKeuringsForm">
>       <forward name="trekker" path="/trekker/keuringsformulier.jsp"/>
>       <forward name="veldspuit" 
> path="/veldspuit/keuringsformulier.jsp"/>
>       <forward name="boomgaardspuit"
> path="/boomgaardspuit/keuringsformulier.jsp"/>
>     </action>
>   </action-mappings>
> 
> The first ActionMapping accepts input from a form. The second 
> is mapped to a
> "normal" link:
> 
> The Action Objects are in the same directory.
> 
> I worked with Struts before in the Resin container. I think I 
> am missing out
> on some JDeveloper specific config options.
> 
> I look forward to your suggestions.
> 
> Kind regards.
> 
> Thomas Delnoij
> Internet Engineer
> IMN - SSE Baarn
> 
> Mobile: +31 6 144 300 14
> EMail: [EMAIL PROTECTED]
> 
> 
> --
> To unsubscribe, e-mail:   
> <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: 
> <mailto:[EMAIL PROTECTED]>
> 

Reply via email to