Search:

Type: Posts; User: oss_2008

Search: Search took 0.08 seconds.

  1. Re: Struggling with cookies

    OK it displays ok and changes colour ok it just doesn't do what it's supposed to do and remember the colour for the next time the page is loaded.


    import java.io.*;
    import javax.servlet.*;...
  2. Re: Struggling with cookies

    Ah I see the problem now. Is there anyway of reloading a cookie only when the page is loaded and not everytime when the submit button is clicked?
  3. Re: Struggling with cookies

    OK I've solved the null pointer problem, if there are no cookies sent to the server it returns null so I added an if statement in the right place. Now however when I first set the colour it turns the...
  4. Null pointer exception while using cookie to remember the previous color

    I'm trying to write a simple program to have the background on a html page changed by selecting the colour on radio buttons, this I managed to do successfully. As soon as I add a cookie to remember...
Results 1 to 4 of 4