Thanx for your valuable information. But i dont have much knowedge
regarding struts.
I came to know that we can connect
to unix telnet ID and execute the scripts from a java application
(using Runtime.exec()) which is on windows. Is it possible? if it is
please help me how to write with a sample code. I have to connect to
telent (unix). Please help me in this issue.
thanks and regards,
vinay.
Vincent van Beveren - 28 Jul 2006 12:09 GMT
> Thanx for your valuable information. But i dont have much knowedge
> regarding struts.
[quoted text clipped - 3 lines]
> please help me how to write with a sample code. I have to connect to
> telent (unix). Please help me in this issue.
You could just Runtime.exec("telnet {ip} {port} <script") at which
script is dynamically generated. You also have free telnet libraries for
java, which you can use.
Vincent
Dražen Gemić - 28 Jul 2006 21:46 GMT
> Thanx for your valuable information. But i dont have much knowedge
> regarding struts.
[quoted text clipped - 5 lines]
> thanks and regards,
> vinay.
I have never tried that, but it could be possible. The fact is that
you are not going to find a lot of hosts with telnet enabled theese days.
Mybe the better idea is to execute them as a CGI scripts, using web
server, and connecting to it from Java.
DG