vicky kumar

Ranch Hand
+ Follow
since Dec 13, 2002
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 vicky kumar

Hi,
I am planning to take IBM 996 exam for MQ solution designer. Can someone help telling the resources or any other useful links. Heard that it is not easy to pass this exam in fist chance. primary reason is that most of the questions are based on z/os.

Please help.

Thanks
Upender
Thanks Gregg. I actually got stuck in "deepserialize" whcih I think is
irrelevant. Its working now.

Vicky
15 years ago
Greg,
I am specifically looking for JSON library that can genrate JqGRID (JQuery) specific JSON format. JqGrid demands a different JSON format for which you had mentioned to use FlexJSON in your blog. But that needs JAva 5. I am using JDK1.4. Look at the JSON format below for JqGrid:

{ total: "xxx", page: "yyy", records: "zzz",
rows : [ [id:"1", cell:["cell11", "cell12", "cell13"]],
[id:"2", cell:["cell21", "cell22", "cell23"]]
] }

The format above
cell:["cell11", "cell12", "cell13"]
is different than what JSON actually generates:
"cell":[{"key1:value1", "key2:value", "key3:value3"}]

Thanks
Vicky
15 years ago
Hi,
I'm trying to convert a list of Pojo into a Jquery specific JSON string. Learned that FlexJSON does the trick. But it works only for JAVA 5. Does someone know the similar solution for JDK 1.4? I've done enough search over the internet but in vain so far.

Thanks
Vicky
15 years ago
Hi Gregg,
I read your blog and found out that you converted the Java Bean into JqGrid specific JSON string using FlexJSON which is build on Java 1.5. Is there any way I can do the same using JDK1.4? FlexJSON doesn't 1.5 binaries.
Please suggest...

Thanks
Vicky
15 years ago
I have a huge XML file containing say millions of records. I get this file on daliy basis from the customer. My requirement is to parse the file and store all the records in it in database. Because of the size of the file, it can run into memory issues. Is there any other way to parse the file in chuncks, store in DB w/o running into memory problems. I believe any XML technique like XPopinter, XQuery or XPATH will hold it in DOM and that will be a problem.

Please let me know if anyone has had such implementation done in his work.

Thanks
Vicky
Hi,
We are in a very critical design phase where we have to chose between JSF and struts. Could someone please answer the following:

1) Some good popular web site based on JSF ?

2) Why should someone prefer JSF over struts when most of the developers' community is more comfortable with Struts ?

3) We are creating a Website using Websphere portal. Did someone face any problem of using JSF with websphere ?

4) Please shoot out some useful pointers to go through.

Any immediate reply will be greatly appreciated.

Thanks
Vicky
18 years ago
JSF
Hi All,
I am using dyanmic dispatching in struts. When I use Action Forward to a JSP, it seems as if JSP is renedering much faster before the data. Due to this I see only partial contents on my JSP. JSP has drop downs, and each one takes quite a while to retreive data from DB.
Is there any way out in struts framework not to let JSP rendered before all the data gets actually processed. I mean some sort of flushing out or to make JSP in sync. This problem is eating my brain out.
Please let me know before I am totally greyless.

Thanks
Vicky
18 years ago
Does someone know what are best companies in US to work for. My criteria for best is
1) Very good Salary
2) Work on latest technologies
3) Not more than 9 to 6 job except during crunch time.
4) No intimidation by peers or superiors. In all a healthy and jovial work culture.

I am talikg with restect to J2EE IT industry.


Cheers
Vicky
19 years ago
Hi William,
I changed the code as you mentioned. But :-( the same problem.

protected boolean isSessionAvailable(HttpServletRequest request) {
HttpSession session = request.getSession(false);

if(session == null) return false;

return true;
}

Above code always returns TRUE. Why ??
Do I needs to DELETE something else other than SESSIONS.ser files.

Please let me know.

Thanks
Vicky
19 years ago
Hi,
I am using Eclipse 2.2 wit tomcat plugin. I also need to remove any/all session information. I removed all the SESSIONS.SER files under TOMCAT../localhost../ and my Workspace directory. Even after that the following statement

HttpSession session = request.getSession();

in my code always returns me NOT NULL value.
Why is this so. I also have set the saveOnRestart=false in server.xml.

Did someone have the similar experience.
What else I need to do so that I get NULL session.
Any help will be appreciated as I already broken my head on this for long.

Thanks
Vicky
19 years ago
Thanks Namichi,
First one is a smart solution. I will try it.

Cheers
Vicky
19 years ago
Make sure you are using Struts 1.1.
1.0 doesn't have validator support.

Vicky
19 years ago
That's true Namichi. But my problem is that I am using Tomcat 4.1.27 and it is not identifying http://java.sun.com/jstl/core in my JSP. After significant time spent, it was concluded that it is a bug in Tomcat configuration (unless you have any solution).
There I tend to drift toward pure NON JSTL solution.
Let me know if you have any idea.

Thanks
Vicky
19 years ago
Hi Nimichi,
And how about OR condition. In fact I need to displat an HTML table if one of the struts properties is NOT empty.

Thanks
Vicky
19 years ago