Pradeep Sahoo

Ranch Hand
+ Follow
since Oct 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 Pradeep Sahoo

Hello All,

I have a requirement for selecting a single element for processing

Input File has multiple instances of <Contact> element
...
<Contact>ABC</Contact>
<Contact>XYZ</Contact>
<Contact>PQR</Contact>
...

I want to process only the first element to get the output
<Customer>ABC</Customer>

The following XSL will process all the elements.
<xsl:for-each select="Contact">
<Customer>
<xsl:value-of select="."/>
</Customer>
</xsl:for-each>

What should be the XSL syntax to get the desired output.

Thanks in advance,
- Pradeep
Thanks Maulin for your reply.

I would actually want to throw the exception instead of catching. Is it possible to do so? If yes, what is the syntax

TIA,
- Pradeep
18 years ago
I have a static block

static
{
method1();

}

This doesn't compile as method1 throws AbcException.

Please help

Thanks in advance
18 years ago
Thanks a lot Tim, Leslie and Andrew,
Its incredible to see so many different solutions for such a trivial problem.
Thanks once again,
Pradeep
19 years ago
I am not sure if this is the right forum to ask this question. Still I thought I should try because I am desperately seeking a solution for this.
I want to search for a pattern in a single line of text and to identify the column position if this pattern is found in the text.
E.g.
If the text is
THIS IS HELLO WORLD and I search for the pattern HELLO, I should get the output as 9 (Position of H assuming 'T' in THIS has a position 1)
I am working on Solaris - which means I have all the standard tools e.g. sed, awk, grep etc available. But I am not sure of the logic.
I would be greatful if anybody can help on this.
Many Thanks in advance,
Pradeep
19 years ago
Thanks Tom for your reply.
However I am looking for some ways to be able to query using a Query language to search XML file.
Any pointers towards that would be great
Thanks again
I want to develop an application which can query/search the data from within an XML file.
Any help as to how to proceed would be greatly appreciated.
Thanks in advance
Pradeep
Is there any Ant task for the creation of Weblogic Domain?
Thanks in advance,
Pradeep
20 years ago
It seems the book is available in most of the stores in Bangalore. I got the book from Sapna Books - 2266088
I am not sure of JDK1.4 but with 1.3 you need to supply the JCE1.2 jar in the classpath in order to solve the problem. However it seems that with 1.4 the javax.crypto package is already available.
Regarding your application server's providers please check the JDKDIR/jre/lib/security/java.security file where JDKDIR is the directory of the JDK of you app server.
20 years ago
I am working on a project based on XML data interchange between my organisation and multiple vendors i.e. Many to One B2B transaction. For this scenario I need to achieve the goals of Integrity, Confidentiality and Non-Repudiation.
Can anybody suggest how do I use XML Security for the transaction? In other words how do I use the combination of processes of encryption, decryption, signing, Signature Verification etc to achieve the above mentioned security goals?
Thanks in advance
Pradeep
20 years ago
Thanks Valery for your response
20 years ago
Aakash,
But does it make any sense even if the session bean is recreated, the customer in most likelyhood of the cases would have destroyed the session after the failure of the application Server.
Am I missing some point?
Thanks,
Pradeep
20 years ago
What could be the alternative to storing symmetric key if I do not want to use any Crypto hardware?
Thanks in advance,
Pradeep
20 years ago
Thanks Li for reassuring me.
Pradeep
20 years ago