Hi, Rajesh,

I like, by the way, your saying at the bottom of your email. Cool! There is a big gap between what is written and passed to the standard out in your class and what shows up on your screen. Can you please give us some idea of what you are doing? Clearly it is not looping in the place where you have written the system out code. So, something else is happening. We cannot find out what that is unless you show us more.

Michael McGrady

Rajesh wrote:

hai McGrady

I just write some System.out.println in the action function to just debug
some values of variables...

Say

I gave

System.out.println("1");
...
System.out.println("2");
...


In tomcat console in dos screen it displays

1
2
...
1
2
...

I don't know why its coming twice...

Am not looping it any place or am calling the action again in any place

Regards,

Rajmahendra R. Hegde
Project Leader
GK Bharani Software Pvt. Ltd.

There are two ways of constructing a software design. One way is to make it
so simple that there are obviously no deficiencies. And the other way is to
make it so complicated that there are no obvious deficiencies. -- C.A.R. Hoare


-----Original Message-----
From: Michael McGrady [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 12, 2004 11:26 AM
To: Struts Users Mailing List
Subject: Re: Dispatch Action called Twice


Don't know about others, Rajesh, but I need more information.  Have you
debugged it?

Rajesh wrote:



Hai all,

am working in Struts 1.1

some time in my program some DispatchActions are called twice!!!!

am not sure whats the problem

am working in Widnows tomcat5

in log displayed in tomcat console when i made a request of a action it displays the system.out command inside those action twice like

after callinig one and next time another

can anybody help me why its happining so

Regards,

Rajmahendra R. Hegde

There are two ways of constructing a software design. One way is to make it so simple that there are obviously no deficiencies. And the other way is to make it so complicated that there are no obvious


deficiencies.


                                                  -- C.A.R. Hoare








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


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









Reply via email to