Balki Dhar

Greenhorn
+ Follow
since Dec 15, 2005
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 Balki Dhar

Hi
I heard that JIT complier increases the performance. How to do that in realtime environment. We are using Websphere application server running on OS/390 Platform.
Balki
18 years ago
you can put your html files in any of the applications directory(e.g examples).
The path could be "jakarta-tomcat\webapps\examples". In this directory you can put the HTML, say test.html, then you can access the HTML file using the URL localhost:8080/examples/test.html.
you can create a subdirectory, say test, and put the file there. Then the URL would be localhost:8080/examples/test/test.html.
Balki
18 years ago
Hi Maha
Thank you very much for the reply. I really appreciate for the information you have provided. Thanks a lot.
Balki
18 years ago
Hi Maha
tomcat 3.1 has auto reload feature for servlets. But it does not reload automatically when the servlets are in frames. See my other postings regarding this.
Balki Dhar
18 years ago
Hi
The servlet classes are not reloaded after changed, if they are in frames, in tomcat 3.1.
Does anybody face this problem? If anybody has solutions to tackle this?
Balki Dhar
18 years ago
Hi Angela and Bill
Thank you very much. I will try to popup a window without toolbar for my application.
dbalki
Hi
Anybody knows how to disable the 'Back' and 'Reload' buttons.
dbalki
Hi Seazodiac,
You can download JAXP API from sun's xml site. The URL is: http://java.sun.com/xml/download.html
dbalki
18 years ago
Hi
I have been able to compile my servlet programs before I installed JAXP for XML processing. After I Installed this API, I could not compile my Servlets as well as the new xml parser java programs using those API. I got package not found errors.
Then I found that when I installed the JAXP package, it modified the autoexec.bat file by adding classpath set to the JAXP jar classes. When doing so it has put the jar files names as capitals. After I changed the class path by converting the jar file name to lowercase, It started working. My PC has Windows 98 OS.
So if anybody has problem when compile your servlet codes, check the classpath name. Change the jar file names to lowercase letters.
dbalki
18 years ago
Hi Geetha
Welcome.
If you need help about particular Java concept which you are not clear about , post it and start discuss about it. We all here to help.
Balki
Which database you are using? What is your JDBC driver?
Balki
Hi Rani
I just did cut & Paste of your code and ran on my machine.
It gave a.equals(b) true.
Balki
Hi Rani
The output of your example should be:
a.equals(b)?true
a == b)?false
b.equals(c)?true
The API documentation for Calendar class says:
equals():
Compares this calendar to the specified object. The result is true if and only if the argument is not null and is a Calendar object that represents the same calendar as this object.
The Calendar class overrides equals method in such a way that if the contents of the two date objects are equal, it will return true. when an object is created using 'new' java allocates memory for the new object and initialized it to default values. So a and b both will have default values and equals method returns true.
a==b, compares the memory location. since the date objects are created new, java allocates separate memory location for the each new objects and this memeory location is different for each new object. so a==b returns false since it is not comparing the contents but physical memory location address.
Balki
Hi TomC
Thanks for your reply. Right now I am on vacation. I will be back to work after 6th of July. Then I will post the full sample code.
Thank you once again
dbalki