RE: dispatch action error

2006-06-02 Thread Samere, Adam J
Perhaps two requests are being made: one for the anchor, one for the
form submit. The anchor would send the method value, the form would not
(unless you have an input named method defined on the form). 

-Original Message-
From: Shoukat, Faisal [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 02, 2006 8:16 AM
To: Struts Users Mailing List
Subject: RE: dispatch action error

I did some debugging on the getMethod() and when I submit the form the
request.getParameter() first time returns '' then in the same request
changeStatus parameter is found.

So its not that the form is not passing the parameter because it does,
the issue I don't understand is why would it pass '' initially then in
the same request it finds the correct parameter

Any pointers

-Original Message-
From: Samere, Adam J [mailto:[EMAIL PROTECTED]
Sent: 02 June 2006 13:09
To: Struts Users Mailing List
Subject: RE: dispatch action error

I don't think your method param is being passed when the form is
submitted. You should probably make the parameters you are passing in
the query string hidden fields on the form you are submitting. If you
need to dynamically set the method parameter you can then do so in the
onclick event of the anchor element.

  




[Submit]

-Adam

-Original Message-
From: Shoukat, Faisal [mailto:[EMAIL PROTECTED]
Sent: Friday, June 02, 2006 5:35 AM
To: Struts Users Mailing List
Subject: dispatch action error

Hi Guys,

 

I am after some advice with the following:

 

I am submitting a form which has the value as selected in a drop down.
>From my struts config.xml it forwards to the correct dispatch action
class method. And does the processing within that method.  However just
before returning to the next jsp it throws the logging exception
recorded below where it states that I have tried to call a dispatch
action class with a parameter of ''. I don't understand why it makes
this second call.

 

I submit the form with the following link: 

 

   

  ?method=changeStatus&applicantId= "

 
onclick="javascript:document.forms.applicationDetailsForm.submit();retur
n
false;">[Submit]

  

 

I have tried it with return false and without it.

 

Can anybody advise on this?

 

Thanks

 

10:08:12,253 DEBUG [LoginBarFilter] In doFilter() for request:
[EMAIL PROTECTED]

10:08:12,253 DEBUG [LoginBarFilter] checking access level

10:08:12,253 INFO  [LoginBarFilter] Level determined as SAVSUB

10:08:12,253 INFO  [LoginBarFilter] storing access level SAVSUB to
session with key access

10:08:12,253 INFO  [LoginBarFilter] setting module name for css to
AYRECRUIT

10:08:12,269 DEBUG [LoginBarFilter] Branding URL from DB = 

10:08:12,269 DEBUG [ModuleUtils] Get module name for path
/web/applicationDetails.do

10:08:12,269 DEBUG [ModuleUtils] Module name found: default

10:08:12,269 DEBUG [RequestProcessor] Processing a 'GET' for path
'/web/applicationDetails'

10:08:12,269 DEBUG [RequestUtils]  Looking for ActionForm bean instance
in scope 'session' under attribute key 'applicationDetailsForm'

10:08:12,269 DEBUG [RequestUtils]  Can recycle existing ActionForm
instance of type 'abc.forms.ApplicationDetailsForm'?: true

10:08:12,269 DEBUG [RequestUtils]  -->
[EMAIL PROTECTED]

10:08:12,269 DEBUG [RequestProcessor]  Storing ActionForm bean instance
in scope 'session' under attribute key 'applicationDetailsForm'

10:08:12,269 DEBUG [RequestProcessor]  Populating bean properties from
this request

10:08:12,269 DEBUG [RequestProcessor]  Looking for Action instance for
class abc.actions.ApplicationDetailsAction

10:08:12,269 DEBUG [RequestProcessor]   Returning existing Action
instance

10:08:12,269 ERROR [DispatchAction] Action[/web/applicationDetails] does
not contain method named ''

java.lang.NoSuchMethodException:
abc.actions.ApplicationDetailsAction.(org.apache.struts.action.ActionMap
ping
, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)

at java.lang.Class.getMethod(Class.java:986)

at
org.apache.struts.actions.DispatchAction.getMethod(DispatchAction.java:3
22)

at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.j
ava:
262)

java.lang.NoSuchMethodException:
abc.actions.ApplicationDetailsAction.(org.apache.struts.action.ActionMap
ping
, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)

at
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194
)

at java.lang.Class.getMethod(Class.java:986)

at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
oces
sor.java:419)

at
org.apache.struts.actions.Dispatc

RE: dispatch action error

2006-06-02 Thread Shoukat, Faisal
I did some debugging on the getMethod() and when I submit the form the
request.getParameter() first time returns '' then in the same request
changeStatus parameter is found.

So its not that the form is not passing the parameter because it does, the
issue I don't understand is why would it pass '' initially then in the same
request it finds the correct parameter

Any pointers

-Original Message-
From: Samere, Adam J [mailto:[EMAIL PROTECTED] 
Sent: 02 June 2006 13:09
To: Struts Users Mailing List
Subject: RE: dispatch action error

I don't think your method param is being passed when the form is
submitted. You should probably make the parameters you are passing in
the query string hidden fields on the form you are submitting. If you
need to dynamically set the method parameter you can then do so in the
onclick event of the anchor element.

  




[Submit]

-Adam

-Original Message-
From: Shoukat, Faisal [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 02, 2006 5:35 AM
To: Struts Users Mailing List
Subject: dispatch action error

Hi Guys,

 

I am after some advice with the following:

 

I am submitting a form which has the value as selected in a drop down.
>From my struts config.xml it forwards to the correct dispatch action
class method. And does the processing within that method.  However just
before returning to the next jsp it throws the logging exception
recorded below where it states that I have tried to call a dispatch
action class with a parameter of ''. I don't understand why it makes
this second call.

 

I submit the form with the following link: 

 

   

  ?method=changeStatus&applicantId= "

 
onclick="javascript:document.forms.applicationDetailsForm.submit();retur
n
false;">[Submit]

  

 

I have tried it with return false and without it.

 

Can anybody advise on this?

 

Thanks

 

10:08:12,253 DEBUG [LoginBarFilter] In doFilter() for request:
[EMAIL PROTECTED]

10:08:12,253 DEBUG [LoginBarFilter] checking access level

10:08:12,253 INFO  [LoginBarFilter] Level determined as SAVSUB

10:08:12,253 INFO  [LoginBarFilter] storing access level SAVSUB to
session with key access

10:08:12,253 INFO  [LoginBarFilter] setting module name for css to
AYRECRUIT

10:08:12,269 DEBUG [LoginBarFilter] Branding URL from DB = 

10:08:12,269 DEBUG [ModuleUtils] Get module name for path
/web/applicationDetails.do

10:08:12,269 DEBUG [ModuleUtils] Module name found: default

10:08:12,269 DEBUG [RequestProcessor] Processing a 'GET' for path
'/web/applicationDetails'

10:08:12,269 DEBUG [RequestUtils]  Looking for ActionForm bean instance
in scope 'session' under attribute key 'applicationDetailsForm'

10:08:12,269 DEBUG [RequestUtils]  Can recycle existing ActionForm
instance of type 'abc.forms.ApplicationDetailsForm'?: true

10:08:12,269 DEBUG [RequestUtils]  -->
[EMAIL PROTECTED]

10:08:12,269 DEBUG [RequestProcessor]  Storing ActionForm bean instance
in scope 'session' under attribute key 'applicationDetailsForm'

10:08:12,269 DEBUG [RequestProcessor]  Populating bean properties from
this request

10:08:12,269 DEBUG [RequestProcessor]  Looking for Action instance for
class abc.actions.ApplicationDetailsAction

10:08:12,269 DEBUG [RequestProcessor]   Returning existing Action
instance

10:08:12,269 ERROR [DispatchAction] Action[/web/applicationDetails] does
not contain method named ''

java.lang.NoSuchMethodException:
abc.actions.ApplicationDetailsAction.(org.apache.struts.action.ActionMap
ping
, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)

at java.lang.Class.getMethod(Class.java:986)

at
org.apache.struts.actions.DispatchAction.getMethod(DispatchAction.java:3
22)

at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.j
ava:
262)

java.lang.NoSuchMethodException:
abc.actions.ApplicationDetailsAction.(org.apache.struts.action.ActionMap
ping
, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)

at
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194
)

at java.lang.Class.getMethod(Class.java:986)

at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
oces
sor.java:419)

at
org.apache.struts.actions.DispatchAction.getMethod(DispatchAction.java:3
22)

at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
224)

at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.j
ava:
262)

at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

at
org.apache.struts.acti

RE: dispatch action error

2006-06-02 Thread Samere, Adam J
I don't think your method param is being passed when the form is
submitted. You should probably make the parameters you are passing in
the query string hidden fields on the form you are submitting. If you
need to dynamically set the method parameter you can then do so in the
onclick event of the anchor element.

  




[Submit]

-Adam

-Original Message-
From: Shoukat, Faisal [mailto:[EMAIL PROTECTED] 
Sent: Friday, June 02, 2006 5:35 AM
To: Struts Users Mailing List
Subject: dispatch action error

Hi Guys,

 

I am after some advice with the following:

 

I am submitting a form which has the value as selected in a drop down.
From my struts config.xml it forwards to the correct dispatch action
class method. And does the processing within that method.  However just
before returning to the next jsp it throws the logging exception
recorded below where it states that I have tried to call a dispatch
action class with a parameter of ''. I don't understand why it makes
this second call.

 

I submit the form with the following link: 

 

   

  ?method=changeStatus&applicantId= "

 
onclick="javascript:document.forms.applicationDetailsForm.submit();retur
n
false;">[Submit]

  

 

I have tried it with return false and without it.

 

Can anybody advise on this?

 

Thanks

 

10:08:12,253 DEBUG [LoginBarFilter] In doFilter() for request:
[EMAIL PROTECTED]

10:08:12,253 DEBUG [LoginBarFilter] checking access level

10:08:12,253 INFO  [LoginBarFilter] Level determined as SAVSUB

10:08:12,253 INFO  [LoginBarFilter] storing access level SAVSUB to
session with key access

10:08:12,253 INFO  [LoginBarFilter] setting module name for css to
AYRECRUIT

10:08:12,269 DEBUG [LoginBarFilter] Branding URL from DB = 

10:08:12,269 DEBUG [ModuleUtils] Get module name for path
/web/applicationDetails.do

10:08:12,269 DEBUG [ModuleUtils] Module name found: default

10:08:12,269 DEBUG [RequestProcessor] Processing a 'GET' for path
'/web/applicationDetails'

10:08:12,269 DEBUG [RequestUtils]  Looking for ActionForm bean instance
in scope 'session' under attribute key 'applicationDetailsForm'

10:08:12,269 DEBUG [RequestUtils]  Can recycle existing ActionForm
instance of type 'abc.forms.ApplicationDetailsForm'?: true

10:08:12,269 DEBUG [RequestUtils]  -->
[EMAIL PROTECTED]

10:08:12,269 DEBUG [RequestProcessor]  Storing ActionForm bean instance
in scope 'session' under attribute key 'applicationDetailsForm'

10:08:12,269 DEBUG [RequestProcessor]  Populating bean properties from
this request

10:08:12,269 DEBUG [RequestProcessor]  Looking for Action instance for
class abc.actions.ApplicationDetailsAction

10:08:12,269 DEBUG [RequestProcessor]   Returning existing Action
instance

10:08:12,269 ERROR [DispatchAction] Action[/web/applicationDetails] does
not contain method named ''

java.lang.NoSuchMethodException:
abc.actions.ApplicationDetailsAction.(org.apache.struts.action.ActionMap
ping
, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)

at java.lang.Class.getMethod(Class.java:986)

at
org.apache.struts.actions.DispatchAction.getMethod(DispatchAction.java:3
22)

at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.j
ava:
262)

java.lang.NoSuchMethodException:
abc.actions.ApplicationDetailsAction.(org.apache.struts.action.ActionMap
ping
, org.apache.struts.action.ActionForm,
javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)

at
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194
)

at java.lang.Class.getMethod(Class.java:986)

at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
oces
sor.java:419)

at
org.apache.struts.actions.DispatchAction.getMethod(DispatchAction.java:3
22)

at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
224)

at
org.apache.struts.actions.DispatchAction.dispatchMethod(DispatchAction.j
ava:
262)

at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1194)

at
org.apache.struts.actions.DispatchAction.execute(DispatchAction.java:194
)

at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)

at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestPr
oces
sor.java:419)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:192)

at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:
224)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:306)

at
javax.servlet.http.HttpServlet.service(HttpServlet.java:333)

at com.evermind._ha.doFilter(Unknown Source)

at
com.abc.resourcelink.common.LoginBarFilter.doFilter(LoginBarFilter.java:
92)

at com.evermind._csb._

Re: Dispatch Action Error

2006-02-02 Thread RathinaGanesh MeenakshiSundaram
Thanks Andrey..!
I'll give a try..!

On 1/30/06, Myatluk Andrey <[EMAIL PROTECTED]> wrote:
>
> Hi!
>
> As I can see from your trace, you are using DispatchAction and in some
> moments wrong method name is passed to this action. In the trace you've
> presented the method name is empty.
>
> 1. Action[/notes] does not contain method named
> 2. java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(
>
> See, no method name after dot?
>
> I would recommend to add debug info in getMethodName() method and log
> path to see what's actually coming.
>
> Andrey
>
> -Original Message-
> From: RathinaGanesh MeenakshiSundaram [mailto:[EMAIL PROTECTED]
> Sent: Thursday, January 26, 2006 11:47 PM
> To: Struts Users Mailing List
> Subject: Re: Dispatch Action Error
>
> No, The jsp and Action and everything works fine as they need to be and
> renders the jsp fine.
> But, once in a while thwors this error to the Server Log.
> There is no mistake with the spelling
>
> Thanks...
>
> On 1/26/06, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote:
> >
> > //java.lang.NoSuchMethodException
> >
> > May be caused by Spelling mistakes of the method names!!
> >
> >
> > On 1/26/06, RathinaGanesh MeenakshiSundaram <[EMAIL PROTECTED]>
> > wrote:
> > >
> > > Hi All,
> > >
> > > Iam getting the following DispatchAction error.
> > > Everything works fine and but, once in a while, I see the following
> > error
> > > message in the Server Log..!
> > > Even when I get this error in the log, I don't see any problem with
> my
> > > application/usage. It just works fine..But, still throws the
> following
> > > error
> > > message to the Server Log.
> > >
> > > Does anyone have any idea regarding this..?
> > >
> > > Thanks,
> > > Ganesh.
> > >
> > > 2006-01-24 11:02:46,787 ERROR
> [org.apache.struts.actions.DispatchAction]
> > > Action[/notes] does not contain method named
> > > java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(
> > > org.apache.struts.action.ActionMapping,
> > > org.apache.struts.action.ActionForm,
> > > javax.servlet.http.HttpServletRequest,
> > > javax.servlet.http.HttpServletResponse)
> > >at java.lang.Class.getMethod(Class.java:986)
> > >at org.apache.struts.actions.DispatchAction.getMethod(
> > > DispatchAction.java:334)
> > >at org.apache.struts.actions.DispatchAction.dispatchMethod(
> > > DispatchAction.java:266)
> > >at org.apache.struts.actions.DispatchAction.execute(
> > DispatchAction.java
> > > :216)
> > >at
> org.apache.struts.action.RequestProcessor.processActionPerform(
> > > RequestProcessor.java:484)
> > >at org.apache.struts.action.RequestProcessor.process(
> > > RequestProcessor.java:274)
> > >at
> org.apache.struts.action.ActionServlet.process(ActionServlet.java
> > > :1482)
> > >at
> org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
> > > :525)
> > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> > >at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> > >at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:237)
> > >at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:157)
> > >at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> > > ReplyHeaderFilter.java:75)
> > >at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > > ApplicationFilterChain.java:186)
> > >at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > > ApplicationFilterChain.java:157)
> > >
> > >
> >
> >
> > --
> > Thanks & Regards
> > Srinivas
> > 732-648-9421(Cell)
> >
>
>
>
> -
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


RE: Dispatch Action Error

2006-01-30 Thread Myatluk Andrey
Hi!

As I can see from your trace, you are using DispatchAction and in some
moments wrong method name is passed to this action. In the trace you've
presented the method name is empty.

1. Action[/notes] does not contain method named
2. java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(

See, no method name after dot?

I would recommend to add debug info in getMethodName() method and log
path to see what's actually coming.

Andrey 

-Original Message-
From: RathinaGanesh MeenakshiSundaram [mailto:[EMAIL PROTECTED] 
Sent: Thursday, January 26, 2006 11:47 PM
To: Struts Users Mailing List
Subject: Re: Dispatch Action Error

No, The jsp and Action and everything works fine as they need to be and
renders the jsp fine.
But, once in a while thwors this error to the Server Log.
There is no mistake with the spelling

Thanks...

On 1/26/06, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote:
>
> //java.lang.NoSuchMethodException
>
> May be caused by Spelling mistakes of the method names!!
>
>
> On 1/26/06, RathinaGanesh MeenakshiSundaram <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi All,
> >
> > Iam getting the following DispatchAction error.
> > Everything works fine and but, once in a while, I see the following
> error
> > message in the Server Log..!
> > Even when I get this error in the log, I don't see any problem with
my
> > application/usage. It just works fine..But, still throws the
following
> > error
> > message to the Server Log.
> >
> > Does anyone have any idea regarding this..?
> >
> > Thanks,
> > Ganesh.
> >
> > 2006-01-24 11:02:46,787 ERROR
[org.apache.struts.actions.DispatchAction]
> > Action[/notes] does not contain method named
> > java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(
> > org.apache.struts.action.ActionMapping,
> > org.apache.struts.action.ActionForm,
> > javax.servlet.http.HttpServletRequest,
> > javax.servlet.http.HttpServletResponse)
> >at java.lang.Class.getMethod(Class.java:986)
> >at org.apache.struts.actions.DispatchAction.getMethod(
> > DispatchAction.java:334)
> >at org.apache.struts.actions.DispatchAction.dispatchMethod(
> > DispatchAction.java:266)
> >at org.apache.struts.actions.DispatchAction.execute(
> DispatchAction.java
> > :216)
> >at
org.apache.struts.action.RequestProcessor.processActionPerform(
> > RequestProcessor.java:484)
> >at org.apache.struts.action.RequestProcessor.process(
> > RequestProcessor.java:274)
> >at
org.apache.struts.action.ActionServlet.process(ActionServlet.java
> > :1482)
> >at
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
> > :525)
> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:237)
> >at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:157)
> >at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> > ReplyHeaderFilter.java:75)
> >at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:186)
> >at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:157)
> >
> >
>
>
> --
> Thanks & Regards
> Srinivas
> 732-648-9421(Cell)
>



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



Re: Dispatch Action Error

2006-01-26 Thread RathinaGanesh MeenakshiSundaram
No, The jsp and Action and everything works fine as they need to be and
renders the jsp fine.
But, once in a while thwors this error to the Server Log.
There is no mistake with the spelling

Thanks...

On 1/26/06, Srinivas Jadcharla <[EMAIL PROTECTED]> wrote:
>
> //java.lang.NoSuchMethodException
>
> May be caused by Spelling mistakes of the method names!!
>
>
> On 1/26/06, RathinaGanesh MeenakshiSundaram <[EMAIL PROTECTED]>
> wrote:
> >
> > Hi All,
> >
> > Iam getting the following DispatchAction error.
> > Everything works fine and but, once in a while, I see the following
> error
> > message in the Server Log..!
> > Even when I get this error in the log, I don't see any problem with my
> > application/usage. It just works fine..But, still throws the following
> > error
> > message to the Server Log.
> >
> > Does anyone have any idea regarding this..?
> >
> > Thanks,
> > Ganesh.
> >
> > 2006-01-24 11:02:46,787 ERROR [org.apache.struts.actions.DispatchAction]
> > Action[/notes] does not contain method named
> > java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(
> > org.apache.struts.action.ActionMapping,
> > org.apache.struts.action.ActionForm,
> > javax.servlet.http.HttpServletRequest,
> > javax.servlet.http.HttpServletResponse)
> >at java.lang.Class.getMethod(Class.java:986)
> >at org.apache.struts.actions.DispatchAction.getMethod(
> > DispatchAction.java:334)
> >at org.apache.struts.actions.DispatchAction.dispatchMethod(
> > DispatchAction.java:266)
> >at org.apache.struts.actions.DispatchAction.execute(
> DispatchAction.java
> > :216)
> >at org.apache.struts.action.RequestProcessor.processActionPerform(
> > RequestProcessor.java:484)
> >at org.apache.struts.action.RequestProcessor.process(
> > RequestProcessor.java:274)
> >at org.apache.struts.action.ActionServlet.process(ActionServlet.java
> > :1482)
> >at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
> > :525)
> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
> >at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> >at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:237)
> >at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:157)
> >at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> > ReplyHeaderFilter.java:75)
> >at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> > ApplicationFilterChain.java:186)
> >at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> > ApplicationFilterChain.java:157)
> >
> >
>
>
> --
> Thanks & Regards
> Srinivas
> 732-648-9421(Cell)
>


Re: Dispatch Action Error

2006-01-26 Thread Srinivas Jadcharla
//java.lang.NoSuchMethodException

May be caused by Spelling mistakes of the method names!!


On 1/26/06, RathinaGanesh MeenakshiSundaram <[EMAIL PROTECTED]> wrote:
>
> Hi All,
>
> Iam getting the following DispatchAction error.
> Everything works fine and but, once in a while, I see the following error
> message in the Server Log..!
> Even when I get this error in the log, I don't see any problem with my
> application/usage. It just works fine..But, still throws the following
> error
> message to the Server Log.
>
> Does anyone have any idea regarding this..?
>
> Thanks,
> Ganesh.
>
> 2006-01-24 11:02:46,787 ERROR [org.apache.struts.actions.DispatchAction]
> Action[/notes] does not contain method named
> java.lang.NoSuchMethodException: com.vrs.crm.actions.NotesAction.(
> org.apache.struts.action.ActionMapping,
> org.apache.struts.action.ActionForm,
> javax.servlet.http.HttpServletRequest,
> javax.servlet.http.HttpServletResponse)
>at java.lang.Class.getMethod(Class.java:986)
>at org.apache.struts.actions.DispatchAction.getMethod(
> DispatchAction.java:334)
>at org.apache.struts.actions.DispatchAction.dispatchMethod(
> DispatchAction.java:266)
>at org.apache.struts.actions.DispatchAction.execute(DispatchAction.java
> :216)
>at org.apache.struts.action.RequestProcessor.processActionPerform(
> RequestProcessor.java:484)
>at org.apache.struts.action.RequestProcessor.process(
> RequestProcessor.java:274)
>at org.apache.struts.action.ActionServlet.process(ActionServlet.java
> :1482)
>at org.apache.struts.action.ActionServlet.doPost(ActionServlet.java
> :525)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
>at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:237)
>at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:157)
>at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(
> ReplyHeaderFilter.java:75)
>at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(
> ApplicationFilterChain.java:186)
>at org.apache.catalina.core.ApplicationFilterChain.doFilter(
> ApplicationFilterChain.java:157)
>
>


--
Thanks & Regards
Srinivas
732-648-9421(Cell)