how to run system commands from jsp page
i have a jsp page in which there are two text boxes.In first text box user nters remote machines ip address and in second text box he provides password and there is button named connect.after clicking on "connect" user should remotely login into pc whose ip address and password was provided.
how can i implement this |
Quote:
Post what you've got so far, with what error(s) you're getting, and we can try to help. |
i want the code.i have just started yesterday and i need it urgently.
|
Quote:
If you want a hand up, we'll be glad to give you help. If you want a hand OUT, good luck. |
i want it for my project so plz provide me the sources(e-books) where i can start from.
|
Quote:
|
i have jsp book as well as for linux but in none of them i could find how to run the linux commands from jsp page and i have searched on google too but i could not find what i am looking for.So sir if you know the name of the books plz let it will be great help from ur side.thanks
|
This sounds like an extremely bad way to do things, too bad even for a school project... at least I would hope. JSP will not handle this easily as your talking about establishing remote connections what by jsp just gives a shiver of unsecured connections. I mean what protocol are you trying to use to connect with as well... ssh, remote desktop protocol, vnc... JSP isn't built to handle any of these and certainly never should be used to handle any of these types of connections. If this is a project you made yourself then you should go back to the drawing board since any project like this is just an instant fail, if your lecturer gave you this to do then you should slap them for doing stupid things...
If this isn't what you meant then you need to clearly state exactly it is what you are doing and why since you won't be able to do this right if you don't really know what you are trying to do! |
Quote:
And again...POST WHAT YOU'VE WRITTEN. |
All times are GMT -5. The time now is 03:03 AM. |