struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aleksi Kallio <akal...@csc.fi>
Subject Re: A basic action mapping doesn't work
Date Thu, 06 Jun 2002 12:35:59 GMT

Stupid me... Endless loop it was indeed. Now everything works fine, thanks
very much!

> Within the createMediaDesc action.... How do you get from a "review" forward to
> "success"? I'm certainly no expert in the ways of Struts, but without looking at
> UpdateRecording.java it looks like you could be stuck in an endless loop.
>
> Later, aj
>
>
> Aleksi Kallio wrote:
>
> > I'm trying to invoke it directly ie. I point my browser to:
> >
> > myHost/medar/createMediaDesc.do
> >
> >
> > I corrected the "review"-forward and now the error is gone: browser just
> > keeps on loading and timeouts. So it works even less now.
> >
> > Tomcat logs say nothing interesting and all I get is a blank browser
> > screen.
> >
> > Other mappings work fine, but they all use forward instead of type.
> >
> >
> >>The action mapping isn't very helpful without the code being used to invoke
> >>it.  What is the <html:form action= > parameter?
> >>
> >>-----Original Message-----
> >>From: Aleksi Kallio [mailto:akallio@csc.fi]
> >>Sent: Thursday, June 06, 2002 7:38 AM
> >>
> >>
> >>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>
> >>
> >
> >
> > --
> > 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>
>


--
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