Win a copy of Building Blockchain Apps this week in the Cloud/Virtualization forum!

Susmitha Metlapalli

Ranch Hand
+ Follow
since May 16, 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 Susmitha Metlapalli

I want to transform response xml received from below messagetracing.sent or messagetracing.received

[sent.receive]
Sent response
4 years ago
Hi,

can i override receive method of MessageDispatcher? How can i do that using spring ws framework.

Regards,
Susmitha.

4 years ago
we have more than 100 xml tags returned in the response. It is difficult to read the logs and find, if the complete xml is written in one line.

ab

Rather please suggest if it is possible to log response as below.

a
b
4 years ago
Hi,

We are using SoapEnvelopeLoggingInterceptor and PayloadLoggingInterceptor for logging request and response .

It logs complete response xml in one line. How can i log response xml tags each in one line .

Please do the needful

Regards,
Susmitha.

4 years ago
Hi,

Can we prepare an sql dynamically in springs framework.

suppose,

select emp.lastname, dept.depno from emp, dept where e.empno = dept.empno and dept.deptno =123;

select emp.lastname, dept.depno from emp, dept where e.empno = dept.empno and dept.deptno =123 and emp.firstname = 'emp1';


My scenario is, i may get only deptno = 123 or emp.firstname = 'emp1' or both from a client trying to fetch data.

so is there any way to prepare these sqls dynamically, using a properties file in springs?

sometimes even tables names are also different. suppose instead of dept, salary table has to be referred. please suggest if we can dynamically include table name also.

Thanks in advance,

Regards,
Susmitha.
5 years ago
Hi,

I have to run this perl script as a cronjob.

How to execute the following from within a perl script?

system("perl -i -p -e 's/\n/\r\n/' <filename>" );

I am not getting the desired result...

Is the above syntax same? do we need to declare anything in the perl script? like "use:"


Thanks,
Susmitha.


8 years ago
Hi,

I am writing a perl script to call unix2dos command from a perl script to ensure that each line in a file will end with a carriage return and new line using following command.

system("unix2dos <filename>");

I have also tried executing the following command in perl script.

system("perl -i -p -e 's/\n/\r\n/' <filename>" );

but it is not giving the desired results.

OS is linux. Do we have to check any OS compatability to use above mentioned commands? Please suggest on this.

Thanks & Regards,
Susmitha.



8 years ago
Hi,

I need to implement encryption and decryption in java.

Please let me know which encryption method can be implemented. MD5 or DES

I could find MD5 encryption sample java code. But for decryption i couldnot find.

Please help me in proceeding further.

Thanks,
Susmitha.
9 years ago
Hi,

I am working on a product which has its only framework developed in swings.

There is a java class which has a JPanel. JPanel invokes a JDialog based on some conditions.

JDialog is private. I cannot modify the existing java class. I can only extend it.

How can i get the handle for that JDialog from this extended class? Please help me to proceed further.

Thanks in advance,
Susmitha.
10 years ago
Hi,

How to get handle of focus window/jdialog/jframe?

/*Test.java*/


import java.awt.*;

public class Test
{
public static void main(String args[])
{
Test1 t1 = new Test1();
t1.show();
}
}

/*Test1.java*/

import javax.swing.JDialog;
import java.awt.event.*;
import java.awt.*;

public class Test1 extends JDialog
{
public Test1()
{
setTitle("Test1");
setSize(500,300);

Component comp = this;

addWindowListener(new WindowAdapter()
{
public void windowOpened(WindowEvent e)
{
Test2 t2= new Test2();
t2.show();
}
});
}
}


/*Test2.java*/

import javax.swing.JDialog;

public class Test2 extends JDialog
{
public Test2()
{
setTitle("Test2");
setSize(300,200);
}
}

Now, i want to get the handle of focus window.

In the above example, focus window will be Test2. How to know what is focused window from Test.java?

Thanks,
Susmitha.
10 years ago
Hi,

I looged in as administrator only. Even then i am unable to start the service.

In TaskManager also it is in stopped stage. i cannot start from there also.

Please help me.

Susmitha.
11 years ago
Hi,

I ma working on my personal laptop. I am unable to start any service using net start <servicename> on windows vista.

i am getting the following error.

System error 5. Access is denied.

Is there any service/process that should be started for using this command?

i searched google. i think netlogon service should be started. but i am unable to start this.

Thanks in advance,
Susmitha.
11 years ago
I am using JDK1.4.

I have to open a URL from standalone java program.
11 years ago
Hi,

Can we open a URL from any standalone java program?

Is there any other solution other than Runtime.getRuntime().exec("cmd.exe /C start http://yahoo.com");?

Thanks in advance,
Susmitha.
11 years ago