sanjay kumar

Greenhorn
+ Follow
since Aug 03, 2007
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 sanjay kumar

Hi Ranchers,

Can some one let me know about any opensource or free API in JAVA using which I can convert csv to XML ?

Is it possible using APACHE POI?

Thanks in advance!
10 years ago
And yeah, use of the "Collections Framework" makes most of my bread-n-butter!!!
10 years ago
I do have my code & pieces in place sir!!!
Im NOT ASKING for your code here..,
I have my solution ready, but doesnt look too optimal, I cannot post it here ..So just looking for some suggestions from some experienced people..
Seems that hurt you ..
10 years ago
I have the ArrayList<String> list;
For example : It contains xyz.com,xyz.com,abc.com,xyz.com,test.com..

Now I want a no of occurance of each string..
example
xyz.xom=3
abc.com=1
test.com=1
10 years ago
Hi Burke,

Sorry, for not replying upto your expectation...
Do you need a "thank" you explicitly...
I dont think because you are doing more than a "very good job"

I did try your code , but what i went ahead was this




I have another problem now

i am able to get the required in an arraylist, but how to count the occurence of each String ?
10 years ago
Thanks all for the elaborate replies,
Yes Rob, you got it correct, I want to split from the second "." from the end

www.xyz.xom -> www & xyz.com
test.www.xyz.com0> test.www & xyz.com
10 years ago
Hi ,

I have the following scenario:
ArrayList<String> list;
list contains string in the following format:
www.xyz.com
test.xyz.com
img1.test.xyz.com
a.abc.com
etc...

I want to split each string in the arraylist like->
www xyz.com
test xyz.com
img1.test xyz.com

How should I follow this up??

I am totally new to regex

thanks!
10 years ago
Hi Bear,

Yes I know, Its just retrieval of data based on a parameter from a class..

By the same JSP I meant b.jsp
10 years ago
JSP
Hi,

I have 2 JSP's
a.jsp,b.jsp

a.jsp-> it has a few checkboxes with some data against it.. user selects some checkboxes and clicks next

on clicking next -> b.jsp will take those values and do some processing
will display result on the same page it will also have next button, on clicking next it should display some result on the same page.

Now i dont know how to go about it.

can someone help please
10 years ago
JSP
hi,

you can execute a dos command using runtime exec process



try to add a dynamic nature using file's (like add ip-name pairs to a fle and read from there and create a command structure...

hope this might help
11 years ago
Hi,

I'm aware of the logging levels.

i would have used


or
what you have said.

since I'm passing the error from my server side code to the client side I'm throwing a new exception

Though constructive criticism is always welcome and for everyone's good @rodrigo
11 years ago
Hi,

If you have used apache log4j then follow this pattern (which I found very effective in my professional work) :



hope it helps.
11 years ago
Hi,

I think this is a wrong place to look for tutorial/theory.

try the sun.com reference/tutorial very helpful and try your own examples.. will be more helpful.

Do come back here for any queries/doubts but don't expect theories..

anyways follow this link collections help
11 years ago
hello,

A good approach can be of first thinking of a way to register components.
Not aware of any patterns for it .

some idea's do come to my mind:
Use a file which will be the register/log for all installed components.
when the application initializes/restarts/starts it should read the file .

File can have parameters like : name of component,parent window etc with some low/high level details.


anyways this place is full of experienced people who can guide us.

another approach :
here

cheers!
[ May 24, 2008: Message edited by: sanjay kumar ]
11 years ago
Hi,

Thanks for replying!!

I got your approach.

what I was thinking is : I want a generic program
it would connect using the browser to yahoo(or any other)website

move to mail logging page.

fill in my login id & password and login(click login )

that is all i want my program to do.
11 years ago