Kavita Shivani

Ranch Hand
+ Follow
since Aug 14, 2009
Merit badge: grant badges
For More
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 Kavita Shivani

Hi all,

I have tried this in one of the JSPs in my application, it works very well. But When I do it on any of subsequent or other JSPs I dont get values set into my command object. Please have a look at the following code and let me know where I am going wrong.
Note, I tried to copy from the download functionality to get this working, Hence the form bean reused here. But it did not work when I had upload bean either. So copying the code as it is.

Spring XML



Controller


JSP




Command class






In the log file, the following line has null for searchstring. Please let me know what is wrong in the code.




Thanks,
Kavitha.
10 years ago
Hi everyone,

I am get the following error on load of my application



I have not yet defined my abstract methods and also not defined my child class for this abstract class fully. Its work in progress. But my configuration seems to be wrong or something as my beans don't get created.


My application config xml looks as follows



The java classes are as follows

Controller


LtrTemplateHandler


FileHandler



Please suggest if there anything I am doing wrongly?

Thanks,
Kavitha.
10 years ago
Hi everyone,

I am trying to traverse in reverse order using for loop in ruby. But the following code does not print anything. Please can anyone tell me if there is anything wrong in the code.



thanks,
Kavitha.
11 years ago
sweet, thank you. if I don't see anything coming up in the next couple of days, might as well take it up. The only pinch is, its close to 2 years contract and if I don't like it.. I might have to abruptly terminate my contract. Will try and negotiate contract term.

thanks,
Kavitha.
11 years ago
Hello everyone,

While I am looking for new job, I came across a contract role for over an year on GOSU. I was told its similar to java. Did a bit of internet research to find that its a language that runs on JVM and uses java as the baseline. However, my worry is this language worth picking up and deviating from java? IF any one has used it and see the potential in the job market that it seems to sustain and grow. Please advice. I will continue to learn more about it. Your suggestions will be helpful.

thanks,
Kavitha.
11 years ago
Hi everyone,

I am trying to mock an object. In that I have a method which returns Boolean value. I construct this mock object several times. So I had to use allowing on the certain methods. I want the return value to be true as and when I pass the object id, in my case acronym. For all the remaining acronyms that are there in the test data it has to return false. But I don't know the usage of allowing will return .Following is the code.





What I want to see happen is,




But its not working, it gives unexpected value exception because its neither true nor false for other issues and years.

I have like 5 more test data for different years and issue code, and I am not concerned about those. I simply want them to return false so they are ignored.
My main functionality returns false so I believe the functionality itself is working good. But I am not able to mock it right.

thanks,
Kavitha.


12 years ago
Thanks for the quick response Paul.

Based on your response, I started debugging the action performed method, I am maintaining an already developed application. Interestingly somewhere deep inside the code, while they do 101 other things, they also restrict all the UI input fields to not exceed some max value. If it does, they throw an exception, which is caught in the action performed level as a general exception and swallowed up, not even logged or printed to the console or shown to the user that it exceeded the max characters. .

thanks,
Kavitha.

12 years ago
Hi all,

In my application, soon as I enter more than 249 characters in my JTextArea, the buttons stop functioning. I am not sure if its a problem with the actionperformed method of the button, or the number of characters in text area. Also I want to be able to increase number of characters entered in the JTextArea to something close to 1000 characters.
Please suggest.

thanks,
Kavitha.
12 years ago
Hi everyone,

I wanted to know what is the general approach inner classes. In my project, I have an inner class that is private. As of now, I am fixing a defect and so for debug purpose planning to make it public class and test the method I needed to and once i figure out the issue, I am planning to make the class private and keep it that way. But i wanted to if there is a better approach and if I am missing it.

thanks,
Kavitha.
13 years ago
Hi everyone,

I am trying to create a metadata extractor for MPEG-4. I am looking for file format specification. The closest I could get to was this

http://www.garykessler.net/library/file_sigs.html.

I assume there is an ISO standards specification, but it seems like it has to be purchased. Is there a place where I can download this file for free?

thanks,
Kavitha.
13 years ago
Thank you for the response Janeice. In our project, we are trying to convert the existing mp3 files into wav and preserve them. In the process of preservation, we do a metadata check on the converted files are close to the original copy with respect to their metadata. Hence this exercise. These files fail to pass metadata extraction from the JHove tool. Anyways thanks again for the suggestion. I will research on the riff header editor.
14 years ago
Hi Everyone,
I am looking for an MP3 to Wav audio file converter to use on Solaris environment. I tried JLayer. It converts the files fine, in the sense the converted wave files can be played back fine, but the file metadata is not captured/converted correctly. I also tried Sox but I am not able to do the symbolic linking of Lame and other libries. So failed there also. Please let me know if there is any command-line or java source code that I can use for audio conversion.

thanks,
Kavitha.
14 years ago
Hi everyone,
I am supposed to create a small multicast application. Multicasting is a new topic for me.
The requirement is that, I have a multicast server, few clients connected to it who are interested in some of the topics that the server multicasts. Each one of this client can register themselves to get information on each of the topics, using the topic ID. So I wanted to know if I can group these clients into one multicast address group and send the packets. If I do this, I will have to use a few InetAddresses, each representing a group address to which subset of the clients will register to. But this will increase as the number of topics increase. So my question is am I doing it the right way? Or is it that my multicast server will always have one multicast group address and I need to have a proper logic to seggregate the clients that wants to receive the information on topics they are interested in. I am not sure how do I design this.

Thank you,
Kavitha.
14 years ago
Thats a good question. I assume it will. I shall clarify that part.
thank you,
Kavitha.
Okie. I will do that.
It was helpful getting your inputs.

Thank you,
Kavitha.