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: Apache server restsrting problem

  1. #1
    Junior Member
    Join Date
    Jan 2011
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Apache server restsrting problem

    Actually i struct at one place in my coding, i need your help in that. Actually, i made two button on one jsp page for ON and OFF. And two other programs for ON and OFF. So, whenever user hit On button, servlet program for ON will run and switch ON the device attached to that sensor. But when i am hitting the other button i.e OFF it doesnt work. And if we restart the apache server then it starts working. Means, to make other button workable i have to restart the apache server, which should not happen, both button should work without restarting the server. I dont know what to do. Can any one help me , what to do to solve this problem.


  2. #2
    Junior Member
    Join Date
    Sep 2010
    Location
    Netherlands
    Posts
    10
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Default Re: Apache server restsrting problem

    Uhm. you might want to line-out your text, it's hard to read.
    But what i get out of this is:
    You have a jsp page.
    You have 2 buttons(on and off).
    The button On will trigger the servlet for the On button? or will it just trigger a servlet which belongs to the page?
    and switch On a device? attached to that sensor?-- What device? and what sensor? Do you turn it on in your code? etc.--
    And is the "Off" button attached to something or not?(a servlet or what ever).

Similar Threads

  1. problem chatting with smack api with openfire server
    By calicratis19 in forum Java SE APIs
    Replies: 2
    Last Post: November 14th, 2013, 11:24 AM
  2. [SOLVED] Problem trying to retrieve a file from ftp server
    By alexdd1987 in forum What's Wrong With My Code?
    Replies: 7
    Last Post: December 16th, 2010, 05:27 PM
  3. [SOLVED] client-server-router problem
    By KrisTheSavage in forum Java Networking
    Replies: 2
    Last Post: August 23rd, 2010, 05:49 AM
  4. Need Hellp!! problem with org.apache.struts.actions.DownloadAction.copy
    By nikshri in forum What's Wrong With My Code?
    Replies: 1
    Last Post: July 6th, 2010, 01:06 AM
  5. Problem running Apache tomcat 6.0 using i.p. address
    By nakul in forum JavaServer Pages: JSP & JSTL
    Replies: 3
    Last Post: April 8th, 2010, 07:58 AM