thomas colding

Ranch Hand
+ Follow
since Mar 23, 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 thomas colding

I need to capture/record the Request and Response when a SOAP service is invoked from the Client Side.
I know it is possible using SOAP-UI, TCP-IP tunnel or fiddler. But since I need to use the Request and Response for further work
It have to be possible problematically.
Any hint what to do, is there any Library, third-party tool that can solve this issue.
3 weeks ago

Ganesh Kumarmit wrote:Hi Rancher,

I am a java/j2ee dev. and have worked in Struts2,Spring 2.5,hibernate. I have done SCJP 5,SCWCD 1.4,SCBCD 5.0.
Now,I am planning to prepare the IBM websphere portal 7 certification,On ibm website, i am not able to find any book/guide(which covers all the topic of Exam Objective), Can you suggest/guide me, how to start my preparation regarding the same.


Hi
Did you ever find a good book that you can recommend.

Thanks in advance.

Ed Ward wrote:You said it does not work but failed to indicate the error messages received and provided very little code. That said, I can see a possible problem or two from the little info you did provide.
At I think you really want XPathExpression
In the call to

you are passing the interface Document instead of the reference to document.
You're trying to do something with emailNodes when you probably mean phoneNodes.
And I don't believe there is a getAttribute(String) method on the Node API You probably want something more like


Have another read on th API. Hope this didn't give away a homework assignment.



Yes I should, Is it API for XPath.

Rob Prime wrote:I'll move this to our XML forum.



Correct my mistake, I was to fast posting the answer
Hi
I am trying to extract the attributes from the follwing xml but it does not work.

Any suggestion what I am doing wrong.


My xml



The code I use:



Do you have better suggestion since you are asking.
9 years ago
JSP
Sorry it is working
9 years ago
JSP
Hi
How can I retrieve information from a Object inside another one on a JSP with forEach loop.

My code is following




9 years ago
JSP

Bear Bibeault wrote:What is an "actionUrl"?



Its url that activate a event named ProcessAction in a Portlet Webspher Portal server.


Never mind I found out that the Form data can only be retrieved when he form is submitted.
9 years ago
I have actionURL link on my JSP, clicking on this do triggere 'ProcessAction ' but it is not possible toi retrieve any values from the JSP.

When I Submit the Form clicking on the Submit button it is not a problem.

In the ProcessAction I use following to acces the fieldcontenr.



And it do work when I Submit the Form.

Is ActionUrl not the same as a Submit, do I really have to enter all the fieldinformation as parameter and then accces.

They must be a better Solution.

Thanks.
9 years ago

Bear Bibeault wrote:My point was: how would it know what libraries you intended to use so it could tell you that you forgot to include them? Because namespaces are not strictly bound, it can't see the "c" namespace and assume you intended to use the JSTL core library. The "c" namespace can be bound to anything (though it'd be a poor practice to not follow conventions).



Sorry again I will try to follow the restriction in the furture, I hope that by time it should be better with guidiance from all your people in this Forum.
9 years ago
JSP

Bear Bibeault wrote:

thomas colding wrote:I do not understand why it is possible to save a JSP if one off taglib is missing.


How could it possibly know what you intended?




Sorry but if I knew I had not asked
9 years ago
JSP
Thanks everybody, it was a missing taglibrary, I do not understand why it is possible to save a JSP if one off taglib is missing.
It is not possible to it in Java, but thanks at all.
9 years ago
JSP

Ulf Dittmer wrote:How does the generated HTML look like? It should provide a clue to what's going on.



As following

9 years ago
JSP

David Newton wrote:You're closing the <option> tag before you put the "selected" attribute in to it. I would have thought running the code would have highlighted this issue.

You might want to consider using a loop of some sort rather than just cutting and pasting the same code many times; doing so makes the code much easier to read, maintain, and understand.




Sorry for my mistake
Do it have to be as following


<SELECT name="montno" onChange="selectChanged(this);">
<OPTION value=1<c:if test="${requestScope.numberoffmonth=='1'}">selected</c:if>>1</OPTION>
<OPTION value=2<c:if test="${requestScope.numberoffmonth=='2'}">selected</c:if>>2</OPTION>
</SELECT>




It is still the same problem selected>1
9 years ago
JSP