Uma Balu

Ranch Hand
+ Follow
since Aug 22, 2003
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 Uma Balu

hi,

where do you have the source file of Balance?? Ensure, it doesn't get compiled again when you try to compile the NewClass.... i.e... remove Balance.java from MyJava folder...

Uma...
16 years ago
Hi,

You are using rs.getInt(1) twice. Instead of that, use, rs.getInt(1) only once, get the value and store it in a temp variable and use the temp variable in all other places.
Hope this helps you,
Uma...
16 years ago
JSP
Hi Sreedhar,
NULL represents a NullPointerException. May be you are trying to access some object which has a null value.
Uma.
17 years ago
JSP
Hi,
System ----- > Class present in the java.lang package which cannot be instantiated.
out -------- > Static final variable declared in the System class.Hence, you say System.out(without creating a instance of the Sustem class). It is of the type java.io.PrintStream.
println ---- > Method present in the PrintStream class to send the output to the specified stream.Since, out is an instance of PrintStream, we say out.println to invoke this method.

Uma
17 years ago
Hi,
How did you deploy??? Created a war file or deployed the folder itself??? If there is an uncaught exception raised, you may get that erro. Try using a error page, so that the exception will be known while invoking the page.
Regards,
Uma..
17 years ago
JSP
Hi,
Generally, we will create only a reference to an interface. Your code,

will not compile because, you are trying to instantiate an interface, which is not possible.
May be, you can use it this way,

Thanks,
Uma.
17 years ago
Hi,

Will this solve your problem???
Uma...
17 years ago
Hi,
Do you have the package com.wrox.databases in the classpath?? Just check if you have put the classes from com.wrox.databases package in the "lib" folder of your application folder.
webapps
|
---yourApp
|
----WEB-INF
|
----lib
|
---com
|
---wrox etc...

Hope this helps you,
Uma.
17 years ago
JSP
Hi,
As per my understanding of ur code, the same thing will work fine in JSP also. You can use, <%= %> kind of expression in JSP also. If in case you want to extract the querystring part of your url, lets say, u have something like this,
http://www.someserver.com?name=uma&password=test
Then, if you use request.getQueryString(), then u can get the contents after the ?, ie, name=uma&password=test can be retrieved.
I hope this is what you are looking for...
Uma...
17 years ago
JSP
Hi,
JSP does not distinguish between get and post methods of submit. To obtain any parameter value, use request.getParameter("param_name").
Uma.
17 years ago
JSP
Hi,
Your Code:

The problem is with toString() function, in sense, you are trying to create the instance of the sub class, so, after the super class constructor is invoked, when u try printing "this", the sub class version of "toString()" is invoked. Since, the sub class data member "radius" is not initialized the 0.0 is printed first, later the sub class construtor initializes the "radius" and then calls the sub class version of "toString()" and hence the value is printed propertly.
Hope this helps u,
Uma.
Hi Bear....
Hmm.. That's nice idea, let me try if there are any IE specific headers available.
Thanks a lot,
Uma.
17 years ago
JSP
Hi,
Yes, that was argument, but this has been posted a bug by the QA and we ought to find a way out... any resources that you can point to???
Thanks,
Uma..
17 years ago
JSP
Hi all,
I have a JSP file which will display a link. On click of the link, it will try opening a csv file from the server, the option is given to the user to either save or open the file from the same location. When the user tries to save the file, the save dialog box displays the name like "filename[1].csv". How to avoid this autonumbering with the file name?? The code that I have used is

Is there any other better approach???
Thanks and Regards,
Uma.
17 years ago
JSP