Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Website send commands Application

  1. #1
    Junior Member
    Join Date
    May 2014
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Website send commands Application

    Hello,

    So the past few years i have been working for a firm as a .net developer which is great but i have slowly been making a transition over to Linux.

    I have a problem to solve and am not 100% sure how to go about it.

    I have a Java application this application sits on a Dedicated server and gets information about the machine and run commands on the machine.

    I need it so that i can run these commands from pressing buttons on a website. For example i press a button to retrieve CPU info, it goes to the app, and the app sends the CPU info back.

    I'm fine with the website and app its just the middle bit. How do i get the app to run commands sent from a webpage. Been ratting my brains for a couple weeks now.

    Any help would be Useful

    Regards

    Cilik


  2. #2
    Super Moderator Norm's Avatar
    Join Date
    May 2010
    Location
    Eastern Florida
    Posts
    25,042
    Thanks
    63
    Thanked 2,708 Times in 2,658 Posts

    Default Re: Website send commands Application

    How do i get the app to run commands sent from a webpage.
    Are you talking about the things a servlet or cgi-bin could do?
    Their instructions could be sent via query Strings on the HTTP request or via the Post data.
    If you don't understand my answer, don't ignore it, ask a question.

Similar Threads

  1. how to send out multiple commands using channel(exec)
    By Asif Masood in forum File I/O & Other I/O Streams
    Replies: 4
    Last Post: April 12th, 2014, 01:34 PM
  2. Muliple Client Server chat application..how to send message from server..
    By jesroni in forum What's Wrong With My Code?
    Replies: 3
    Last Post: September 14th, 2013, 11:17 PM
  3. Replies: 3
    Last Post: September 7th, 2013, 02:34 AM
  4. Replies: 2
    Last Post: March 23rd, 2011, 08:51 AM
  5. Replies: 2
    Last Post: March 3rd, 2011, 02:22 PM