RE: Struts ActionMapping / OC4J problem

2002-09-30 Thread Miguel Angel Mulero Martinez

Execute is the new versiĆ³n (1.1b2). Perform is the old metod (1.0.2).

Regads.

-Mensaje original-
De: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
Enviado el: lunes, 30 de septiembre de 2002 12:33
Para: [EMAIL PROTECTED]
Asunto: Struts ActionMapping / OC4J problem

Hi.

Several days ago, I posted a message relating to configuring Struts to run
properly on OC4J.

The actual problem was that JDeveloper's wizard for creating Action classes,
does not create a perform(), but an execute() method, which I beleive is the
old version (?).

The Action class that worked properly was hand-coded by me.

Kind regards.

Thomas Delnoij



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




Struts ActionMapping / OC4J problem

2002-09-30 Thread Thomas Delnoij

Hi.

Several days ago, I posted a message relating to configuring Struts to run
properly on OC4J.

The actual problem was that JDeveloper's wizard for creating Action classes,
does not create a perform(), but an execute() method, which I beleive is the
old version (?).

The Action class that worked properly was hand-coded by me.

Kind regards.

Thomas Delnoij



--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts ActionMapping / OC4J problem

2002-09-27 Thread Karr, David

> -Original Message-
> From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 5: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.
> 
> 
>  name="TrekkerFormBean" scope="request"
> input="/trekker/keuringsformulier.jsp" validate="true">
>   
>   
> 
> 
>   
>path="/veldspuit/keuringsformulier.jsp"/>
>path="/boomgaardspuit/keuringsformulier.jsp"/>
> 
>   

So you request "http://localhost://ProcessForm.do" and it
hits the breakpoint in your action.

Then, you request "http://localhost://GetKeuringsForm.do" and
you just get a 404 error, without hitting the breakpoint in your action, and
no errors in your server logs?

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




RE: Struts ActionMapping / OC4J problem

2002-09-27 Thread Miller, Jason

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.
> 
> 
>  name="TrekkerFormBean" scope="request"
> input="/trekker/keuringsformulier.jsp" validate="true">
>   
>   
> 
> 
>   
>path="/veldspuit/keuringsformulier.jsp"/>
>path="/boomgaardspuit/keuringsformulier.jsp"/>
> 
>   
> 
> 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]>
> 



Re: Struts ActionMapping / OC4J problem

2002-09-27 Thread Eddie Bush

Weird.  I always get a stack trace when I have a misconfiguration.  Let 
me look over your problem again ...

>
>name="TrekkerFormBean" scope="request"
>input="/trekker/keuringsformulier.jsp" validate="true">
>  
>  
>
>
>  
>  
>  path="/boomgaardspuit/keuringsformulier.jsp"/>
>
>  
>
Why do you have type="o.a.s.a.ActionServlet" in your action-mappings 
element?  I never specify a type there any my stuff always works.  I 
suppose this is where you can make all of your actions forward/redirect 
by default by specifying a different action class.  ActionServlet is not 
an action though.  I think that's an error - but please correct me if 
I'm wrong.

If you would be so kind please tell us what you have tried next time - 
rather than just stating your problem :-)  I don't know everyone on the 
list, and my rule of thumb is to start with the simplest solution and 
work toward the more complex one.  When I hear "configuration" and 
"doesn't work" I think "stack trace".  In order to cut through the basic 
solutions and hop right to a more detailed examination, you should state 
what you have tried :-)  Sorry you felt like I was brushing you off (I'm 
nearly certain you did).

I don't think anyone posted solutions for the others either.  You need 
to realize that we're not all omniscient though - and I think most 
people problem-solve like I do (very deliberately - start here; work to 
there).  Hopefully this reply is more helpful ;-)  (I really don't just 
post to exercise my fingers - they get plenty of that, and I have other 
things I could well exercise them on)

Thomas Delnoij wrote:

>Eddie.
>
>This doesn't help me in any way.
>
>I did search the archives, and no, nothing special in the logs/console.
>
>You could play a helpfull role by sending me the EMails with the "similar
>questions" you are talking about.
>
>Kind regards
>
>Thomas Delnoij
>Internet Engineer
>IMN - SSE Baarn
>
>Mobile: +31 6 144 300 14
>EMail: [EMAIL PROTECTED]
>

-- 
Eddie Bush




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




RE: Struts ActionMapping / OC4J problem

2002-09-27 Thread Thomas Delnoij

David.

The request for the second Action Object returns "404 not found."

Furthermore, the perform() method of the Object is never called (Debugger).

No NullPointerException though.

Kind regards.

Thomas Delnoij
Internet Engineer
IMN - SSE Baarn

Mobile: +31 6 144 300 14
EMail: [EMAIL PROTECTED] 

>-Original Message-
>From: Karr, David [mailto:[EMAIL PROTECTED]]
>Sent: vrijdag 27 september 2002 17:18
>To: 'Struts Users Mailing List'
>Subject: RE: Struts ActionMapping / OC4J problem
>
>
>> -Original Message-
>> From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
>> Sent: Friday, September 27, 2002 5: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.
>
>Tell us exactly what happened.  I don't know what "It can only find the
>first Action" means.
>
>--
>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: Struts ActionMapping / OC4J problem

2002-09-27 Thread Thomas Delnoij

Eddie.

This doesn't help me in any way.

I did search the archives, and no, nothing special in the logs/console.

You could play a helpfull role by sending me the EMails with the "similar
questions" you are talking about.

Kind regards

Thomas Delnoij
Internet Engineer
IMN - SSE Baarn

Mobile: +31 6 144 300 14
EMail: [EMAIL PROTECTED]

>-Original Message-
>From: Eddie Bush [mailto:[EMAIL PROTECTED]]
>Sent: vrijdag 27 september 2002 16:47
>To: Struts Users Mailing List
>Subject: Re: Struts ActionMapping / OC4J problem
>
>
>Have you looked at your console/log file yet?  You're about the fourth
>person in two days to ask a similar question.  If you have a
>misconfiguration you will get a stack trace - find it, read it, and if
>it doesn't make sense to you then ... search the archive (by all means
>:-) and then post here if you still can't figure it out.  You could
>insert STFW between search the archive and post here if you really
>wanted to do your homework :-)
>
>--
>Eddie Bush
>
>
>
>
>--
>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: Struts ActionMapping / OC4J problem

2002-09-27 Thread Karr, David

> -Original Message-
> From: Thomas Delnoij [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 27, 2002 5: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.

Tell us exactly what happened.  I don't know what "It can only find the
first Action" means.

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




Re: Struts ActionMapping / OC4J problem

2002-09-27 Thread Eddie Bush

Have you looked at your console/log file yet?  You're about the fourth 
person in two days to ask a similar question.  If you have a 
misconfiguration you will get a stack trace - find it, read it, and if 
it doesn't make sense to you then ... search the archive (by all means 
:-) and then post here if you still can't figure it out.  You could 
insert STFW between search the archive and post here if you really 
wanted to do your homework :-)

-- 
Eddie Bush




--
To unsubscribe, e-mail:   
For additional commands, e-mail: 




Struts ActionMapping / OC4J problem

2002-09-27 Thread Thomas Delnoij

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.



  
  


  
  
  

  

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:   
For additional commands, e-mail: