Vishakha Ahuja

Ranch Hand
+ Follow
since Sep 13, 2000
Cows and Likes
Total received
In last 30 days
Total given
Total received
Received in last 30 days
Total given
Given in last 30 days
Forums and Threads
Scavenger Hunt
(keep public parts private until JForum day)
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt
Moderation Tools

Recent posts by Vishakha Ahuja

Isn't Java API all we need as a library ?
15 years ago
Hi, I'd used 1.2 in the past and I've been using 1.3 recently. I want to know what's new in 1.4 ?
15 years ago
I think the garbage collection thread runs as a daemon thread !
15 years ago

Originally posted by balakrishnap:
Pl explain about garbage collection

Java allows you to create as many objects as you want without worrying about destroying them. The JRE deletes these objects when it determines that they are no longer being used. This process is called as Garbage Collection.
15 years ago
Thanks col. I'm not sure how to use type 4. The book I'm referring to uses JDBC-ODBC with MS Access, so I thought of trying with Oracle also.
I'll try type 4 if i knew how to connect ?
Can I use JDBC-ODBC bridge with Oracle 8i database ? How do I know if it is already present on my Windows 98 computer or I've to install it ?
When I try to set USER DSN in the Control Panel, I see 3 Drivers:
1)Microsoft ODBC Driver for Oracle
2)Microsoft ODBC for Oracle
3)Oracle ODBC Driver
Which of these should I use ?
Is there any other setting I need to do before I can run my JDBC program ?
I'm sorry, I overlooked it as it was the "image" was a parameter in the constructor.
Anyway what changes can I make to this HTML file to load the applet without causing permission/security problems ?
15 years ago
Hi Manfred,
My applet is actually not reading any local files nor is it loading any images. The HTML file is auto generated by HTML Converter and I do not understand the object,embed tags etc.
Can I make some changes to this HTML file to load the applet without causing permission/security problems ?
[ March 11, 2002: Message edited by: Vishakha Ahuja ]
15 years ago
I've a JApplet that runs fine in appletviewer.
I used HTML converter to convert HTML applet tag into object tag result:
<OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93"
WIDTH = 250 HEIGHT = 150 codebase=",1,1,0">
<PARAM NAME = CODE VALUE = "JLabelDemo.class" >
<PARAM NAME="type" VALUE="application/x-java-applet;version=1.1">
<EMBED type="application/x-java-applet;version=1.1" java_CODE = "JLabelDemo.class" WIDTH = 250 HEIGHT = 150 pluginspage=""><NOEMBED></COMMENT>
<APPLET CODE = "JLabelDemo.class" WIDTH = 250 HEIGHT = 150 >

And I've java plug-in 1.3.1_02 which came with jre. I've followed all instructions for setup.
When I run converted html file in IE 5.5 I get
"applet not initialized" in status bar and the following error in Java console: access denied ( france.gif read) at Source) at Source) at java.lang.SecurityManager.checkPermission(Unknown Source) at java.lang.SecurityManager.checkRead(Unknown Source) at sun.awt.SunToolkit.getImageFromHash(Unknown Source) at sun.awt.SunToolkit.getImage(Unknown Source) at javax.swing.ImageIcon.<init>(Unknown Source) at javax.swing.ImageIcon.<init>(Unknown Source) at JLabelDemo.init( at Source) at Source)
what can I do ? ???
[ March 10, 2002: Message edited by: Vishakha Ahuja ]
15 years ago
Is it possible that this could be related to firewall or proxy setting ?
Thanks for the reply.
However JRun gives a GUI to make these changes and they are autimatically reflected in the xml.
I tried changing this xml file, and my default-server wouldn't start "error: exited abnormally, check event log file"
When I restored the xml to its original state, server started alright. Now, I'm back to square one.
15 years ago
When I start tomcat, I get the following message but I do not get the <b> dos prompt </b> back for any other command nor does it launch any new DOS window ? Is this <u> normal behavior </u> ?
If so, where do I say shutdown ?
Including all jars in ..\lib in your CLASSPATH.
Using CLASSPATH: ..\classes;..\lib\SERVLET.JAR;..\lib\ANT.JAR;..\lib\JAXP.JAR;..
Starting Tomcat in new window
2002-02-26 20:57:11 - ContextManager: Adding context Ctx( /examples )
Starting tomcat. Check logs/tomcat.log for error messages 2002-02-26 20:57:11 -
ContextManager: Adding context Ctx( /admin )
2002-02-26 20:57:11 - ContextManager: Adding context Ctx( )
2002-02-26 20:57:11 - ContextManager: Adding context Ctx( /test )
2002-02-26 20:57:45 - PoolTcpConnector: Starting HttpConnectionHandler on 8080
2002-02-26 20:57:45 - PoolTcpConnector: Starting Ajp12ConnectionHandler on 8007
15 years ago
I had few programs using Sockets/InetAddress/URLConnection objects that interacted with URLs.
I got the result in stand alone PC however when I run the same program in a LAN env., I get Run-time exceptions : "UnknownHostException"
What should I do ?
Does MS IIS server support java servlets and jsp ?
15 years ago
Hello, I read that a server knows a servlet by the alias name.
On Allaire Jrun, How do I define alias for the servlet: Specifically,
1)If my servlet class file (Eg. HelloServlet.class) resides in this directory
c:\Program Files\Allaire\JRun\servers\default\default-app\web-inf\classes, then what should be my fully qualified servlet class name ? can servlet name and display name be the same ?
2)What should be my address in the web-browser for running this alias servlet ?
Currently, I run it with this address:
I can run with class name, but just don't know how to refer it with an alias name ?
Please help.
15 years ago