orderDetails[2][gender],
orderDetails[2][price],
orderDetails[0][gender],
orderDetails[0][price],
orderDetails[2][name],
orderDetails[1][gender],
orderDetails[1][name],
orderDetails[1][price],
orderDetails[0][name]
13/11/10 12:39:56 INFO James.Mailet: RemoteAddrNotInNetwork: Authorized addresses: [127.0.0.1/255.255.255.255, 0.0.0.0/255.255.255.255, 192.168.2.0/255.255.255.0]
13/11/10 12:39:56 INFO James.Mailet: RemoteDelivery: maxRetries is larger than total number of attempts specified. Increasing last delayTime with 19 attempts
13/11/10 12:39:56 INFO James.Mailet: RemoteDelivery: Delay of 21600000 msecs is now attempted: 20 times
13/11/10 12:40:04 INFO James.Mailet: RemoteDelivery: Attempting delivery of Mail1289631302656-0-to-yahoo.co.in to host mx1.mail.in.yahoo.com. at 180.222.96.138 for addresses [abhilash@yahoo.co.in]
13/11/10 12:40:04 INFO James.Mailet: RemoteDelivery: Could not connect to SMTP host: 180.222.96.138, port: 25, response: 553
13/11/10 12:40:04 INFO James.Mailet: RemoteDelivery: Temporary exception delivering mail (Mail1289631302656-0-to-yahoo.co.in:
13/11/10 12:40:04 INFO James.Mailet: RemoteDelivery: Storing message Mail1289631302656-0-to-yahoo.co.in into outgoing after 0 retries
Jan Cumps wrote:When you define a method of your class as private, nothing else than your class can use that method. You have restricted the access.
JUnit can't test your class, because you have forbidden JUnit to access it.
Abimaran Kugathasan wrote:In the first code, you've called an instance method on a static method without an instance. And, in the second case, you've an instance named tm, so can call the instance method of that class on this instance!
Static methods are loaded at class loading time. And it's belonging to class, not to a single instance, so you can call that method without any instances. But to call a non static method, you need an object. Because it's belonging to instances of the class. If you call the non-static/instance method from static/class method, compiler can't determine, on which object you've called the instance method. So, it won't allow it!
Richard Golebiowski wrote:Try the following, using OGNL: