Ash Rai

Ranch Hand
+ Follow
since Dec 15, 2000
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Ash Rai

Go to Internet Options/Advanced and check Java Sun. This is required for Applets. Try it and then let us know if it works!
18 years ago
Hi,
I am facing a similar issue as babu did. For me the certificate pops up but the applet does not load...says can't find the applet class file. I am using a .cab file. If I check on Java Sun VM the applet pops up but the certificate doesn't and if the Uncheck Java Sun VM and check MVM then the certificate pops up but the applets doesn't Please help. It's very urgent.
Thanks.
18 years ago
Yes I am already using Java Web Start.... still it doesn't download where I need it. I have even changed the path in the 'Cache' tab in Java Web Start to C:\WINNT\downloaded program files\....still no luck :roll:
18 years ago
I want to know what are persistant applets? Are they the applets that get downloaded in the C:\WINNT\downloaded program files\ ?
My requirement is the following:
Everytime we access the applet it should not get downloaded from the server but from the local machine say..from.. C:\WINNT\downloaded program files\. Only when there is an update in the applet it will download from the server else it will pick it up from the local machine. As a comparison, perhaps the best and most common example of a persistent Java applet is Shockwave � a familiar download for Internet users. We want to do something similar to this.I have no idea how to go about this...can somebody throw some light on this?
I have already tried using the following:
<applet code="ReportCreatorApplet.class" width=100% height=90% archive="applet.jar">
<param name=cache_archive value="applet.jar">
<param name=cache_option value="Browser">
It looks like it is caching but not actually downloading in C:\WINNT\downloaded program files\.
18 years ago
Hi,
Is it not true that by making it thread safe we can actually slow down the access time for different requests?? I am facing a similar problem...I am using jsp,servlets and java beans for getting information from the user and then populating the database with those. I have used the isThreadsafe=true option. Will my application face a problem like Gopitnath's? If I want to use synchronise keyword instead then which are the code statements that need to be placed in the synchronised block? Is it sufficient to synchronise just the psmt.executeQuery() and executeUpdate() methods only or should I synchronise even the java beans (becoz their get and set methods may be used by multiple users at the same time)?
Please help
Thanks
21 years ago
Hi,
I am facing a problem while sending multiple ID's in the CC. It is sending only one TO and one CC( irrespective of the no of CC's). I used InternetAddress[] address = {new InternetAddress(ccAddr)}; for multiple CC's
Please help.
Thanks

[This message has been edited by Ash Rai (edited March 06, 2001).]
21 years ago
Hi,
I am not sure if this is the right place to ask this...but does anyone know about how to use Install Anywhere.. I am facing some problem.
Thanks
21 years ago
Hey Kevin,
Nothing to be disappointed about!! I really appreciate your courage... Now you know what it's all like. So you'll be better prepared next time... and best part is you don't have to start from scratch!!!
Give it a second try at the earliest so that you are still in touch with what you learned!!
All the best!
21 years ago
Congratulations!! Sam...
Very very nice indeed..!!!
Ash
21 years ago
Hey Randall,
Congratulations and cheer up!! I remember you answered some of my questions!! You do have good knowledge
Ash
21 years ago
Hey Rajani,
Great!! Congrats!! That's a good score indeed!!

Ash
21 years ago
Hi,
So finally made it with 83% today!! Thanks to all of you here!! Well, I started preparing for it since Oct last year but did the real hard work all through Dec. First I studied R&H twice and later happened to get Khalid from the library just to refer it and believe me I could not leave it till I finished it!!! It's an absolutely wonderful book. I recommend that it SHOULD be referred. Apart from this I did some of the mock exams and the complete JQPlus software. The software is also very very good but then it costs money
Last but not the least -- JavaRanch!!
Well about the exam:
java.lang surprisingly got me down. I got just 50%. I guess I thought of some tricks which were never there!!!
Everybody is worried about Threads. Please don't be. R&H is sufficient. Just carefully read the way Threads are created using Runnable and Thread class and of course what all the methods like wait,notify etc do and how the synchronise keyword is used.
For i/o,operators,overriding,Inner Classes,Casting Khalid is undoubtly the best.Most of the important things are diagramatically represented so that made remembering classes and subclasses very easy.
Also I made important notes on all the topics and read them a day before the exam. Had done lot of coding too..no excuse for this anyways.
That's it I guess. Hope it helps!
Thanks to all once again!! Best of Luck for your SCJP exam.
Regards.
21 years ago
Hi
I don't understand why declaring the second int x does not cause a compiler error. I know it's local but isn't the static x available inside the main method too??
<CODE>class ScopeTest
{
static int x = 5;
public static void main(String[] args)
{ int x = ( x=3 ) * 4;
System.out.println(x);
}
}</CODE>