A basic action mapping doesn't work

2002-06-06 Thread Aleksi Kallio


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:[EMAIL PROTECTED]
For additional commands, e-mail: mailto:[EMAIL PROTECTED]




Re: A basic action mapping doesn't work

2002-06-06 Thread ajTreece

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:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



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




RE: A basic action mapping doesn't work

2002-06-06 Thread Aleksi Kallio


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:[EMAIL PROTECTED]]
 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:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]

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



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




Re: A basic action mapping doesn't work

2002-06-06 Thread ajTreece

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:[EMAIL PROTECTED]]
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:[EMAIL PROTECTED]
For additional commands, e-mail:
mailto:[EMAIL PROTECTED]

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

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



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




Re: A basic action mapping doesn't work

2002-06-06 Thread Aleksi Kallio


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:[EMAIL PROTECTED]]
 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:[EMAIL PROTECTED]
 For additional commands, e-mail:
 mailto:[EMAIL PROTECTED]
 
 --
 To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
 For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 
 
 
  --
  To unsubscribe, e-mail:   mailto:[EMAIL PROTECTED]
  For additional commands, e-mail: mailto:[EMAIL PROTECTED]
 



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



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