James Winfrey

Ranch Hand
+ Follow
since Jan 04, 2009
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 James Winfrey

Thanks a lot Jeanne
Hi

I am scjp 1.5 certified. I wish to upgrade to OCPJP7 using 1Z0-805. Does Kathy book for 1Z0803-1Z0804 covers allthe topics neede for upgrade exam.

Thanks
Hi guys

I am trying to call a Struts action on the onchange event of a combo box in Struts using AJAX/JQuery getJSON Function.

The Action will return an arraylist.

The problem is that

1. The combo box selected value that I am passing to the action is not getting passed. (comboSelectedValuevalue in the code below)

2. The arraylist value is not returning from the action to the getjson function (selectedListparameter contains ArrayList in the code below)

I have attached the code below for your reference.

Please do let me know the issue with the code.



7 years ago
Hi Guys

I am trying to retrive the list of all groups from ActiveDirectory(LDAP) using Java. I am getting the list of groups followed by the below exception. Please do let me know the reason for the exception.


7 years ago
Hi Guys

We have data for 35 entries in a properties file.

Each entry represents a Value Object.

We want to read this data into a set of objects.

how do we do that?

Thanks




7 years ago
Hi Guys

We are using Display Tag Library in one of our projects.

Currenly We are showing only a single header and Table data.

We have a requirement to show Subbheaders in table like


Can this be done using display Tag Library Feature?

Please Suggest?

Thanks


Thanks David for your reply.

The DOM element gets updated and the form is submitted using javascript.

But the Changes are not reflected in the ActionForm.

We are using input button of type submit.

James
8 years ago
Hi Guys

Can I set the values of actionform in javascript?


JSP Code:



JavaScript Code:



The formBean and actions are correctly configured in struts-config.xml.

The above code does not update the actionform.

Thanks
James

8 years ago
Hi Guys

We are using tomcat container.

We have a dao that throws custom application exception.

We call servlet1 after throwing exception.

Then servlet1 also throws an exception.

In the catch block in the servlet1 we can't get the new exception description.

How can we get that exception details.

Thanks
8 years ago
Hi Guys

I have a request attribute that I want to show in an alert box in javascript. How can I achieve that?

Thanks
8 years ago
JSP
Hi Guys

I have a jsp on which I dispaly table of hyperlinks.

On click of hyperlink I have to do some processing in a servlet and display an error mesage on jsp if something goes wrong.

but the control should remain on the same jsp.

Is this possible without submitting the page?

Thanks


Thanks Ulf. I have to do it programatically. Apart from using third party library, can i do this directly using java Api's.

8 years ago
Hi Guys

I have to Open a pdf file from a computer on another domain using login id, Password different from my windows authentication?

How can I do that?

Thanks
8 years ago
Hi Guys

I have a table containing 2 rows. First row contains acombo box and second row contains a submit button.


When I click on the submit button, the table gets distorted. Why is it so?