Nikhil Sagar

Ranch Hand
+ Follow
since Apr 21, 2012
Nikhil likes ...
Tomcat Server Java Linux
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
11
Received in last 30 days
0
Total given
33
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Nikhil Sagar

yes deepak i tried but it is returning host.
May be problem is apache to tomcat request map. what you think ??
10 years ago
It is not working on my rhl server.
10 years ago

Winston Gutkowski wrote:

Nikhil Sagar wrote:Ah, means JIT comes into play if and only if method returns somthing .
am i correct Sherrif ??


Given that you've revived a 10-year-old thread, maybe the more relevant question is: Why do you want to know this?

Winston



Just for knowledge.
11 years ago

Campbell Ritchie wrote:In which case it would not inline anything.



Ah, means JIT comes into play if and only if method returns somthing .
am i correct Sherrif ??
11 years ago
Sherrif, i have a doubt, in below link

http://docs.oracle.com/cd/E15289_01/doc.40/e15058/underst_jit.htm

this example says that jit changes method call to returned values.

But what if method does not return anything ??
11 years ago
Still helpful, even after 10 years .......
11 years ago
i am getting this error
under linux. any idea why ??
11 years ago
Today, I am a OCPJP 6 too with 86% .
I AM SO HAPPY NOW.
Thanks BERT AND KATHY FOR SUCH A WONDERFUL BOOK.

Peter Johnson wrote:Reinstalling the O.S. seems a little extreme to me. The "missing" class should be in the lib/server-api.jar file in Tomcat. You might have been able to solve this by re-installing Tomcat or re-installing Eclipse.


Peter, i did that almost 50 times with no result that's why i had to re-install OS.

ankita modi. wrote:I am posting contents of these properties files.

#RBControl.properties
region: global
language: English

#RBControl_zh.properties
language: Simplified Chinese

#RBControl_zh_CN.properties
region: China

#RBControl_zh_HK.properties
region: Hong Kong

#RBControl_zh_TW.properties
region: Taiwan
language: Traditional Chinese

So RBControl_zh_TW.properties file name shows that it contents language code and region code.

RBControl=basename, language code=zh, region code=TW

Now when you see RBControl_zh_HK.properties and RBControl_zh_CN.properties files, there is no language code property.There is only region code.These could be correct for file named with RBControl_HK and RBControl_CN.Correct me if i am wrong.



Have a look at the illustrated example from the same page you posted above.
LINK
11 years ago
I tried almost each and everything written all around the web without result.
So, i had to call IT team to re-install O.S. and now it's working fine.
I am marking this thread as solved.
whenever i run a project om eclipse it throws.


but i can run any application outside eclipse.
tell me what to do ?

Tina Raja wrote:I am quite new at JAVA however, I tried what you posted and it works for me - trying using this code

class Example{
public static void main(String [] args){
double gallons;
double liters;
int counter;

counter = 0;

for (gallons = 1; gallons <=20; gallons++){
liters = gallons * 3.75;
System.out.println("We have " + liters + " liters");
counter++;
if (counter == 5){
System.out.println();
counter = 0;
}

}
}
}



Tina, please edit your post and insert code tags properly.
11 years ago
Im addition to Himani's post-
auto-boxing introduced in java 5.
So, if you want a compile time error then compile it with prior to java 5.

Winston Gutkowski wrote:

Nikhil Sagar wrote:Thanks a ton jeff.
And I love you....


Steady on. You don't even know if he snores.

However, hearty congratulations. Just remember: the first 10 years are the toughest.

Winston



Thank you Winson.

Just remember: the first 10 years are the toughest


And i would really like to face them.
11 years ago