Excellent, thanks for the help. The way you went about it was exactley the way I was planning on going about it. I play piano/keyboard, love music, computer games and sport so I'll build applications...
Type: Posts; User: oss_2008
Excellent, thanks for the help. The way you went about it was exactley the way I was planning on going about it. I play piano/keyboard, love music, computer games and sport so I'll build applications...
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.*;...
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?
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...
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...
Hello all,
I'm after some advise on how to break into java programming. I have a computer science degree but struggled with programming at university, I told myself it was too hard and I'd never...
Thank you for your help. I'm not getting any errors as I haven't compiled it yet. I was just checking I had understood the concept correctly.
Hello all,
I'm working through some examples of java servlets. I have one example of a servlet taking text input, the lines of code I have an example of are below, this example uses a html text...
OK found the jar file in question it was commons-codec.jar, imported it into my classpath and the app now runs with a connection timeout IO exception which is probably down to the server not being...
You mean a missing class that should be in the jars or a missing jar altogether? Glad to know I'm not doing anything wrong in particular.
That's the main website below, the textbook told me to download xmlrpc-2.0.jar and xmlrpc-2.0-applet.jar which weren't even in the download on the apache site so I located them through find jar...
Hi thanks for your help again.
It's the same problem I'm afraid. It imports the contents of the jar files. When I expand the jar files in the tree they have all of the classes that I am importing...
I've downloaded, installed Eclipse and have had a go importing third party java applications. It was showing my system library in jdk\jre\lib\ext. I moved all of the relevant jar files into this...
Thanks for the welcome JavaPF and the help. I will give this a try and post back how I get on. At the minute I'm not using a development environment just text editor + jdk.
I have been working through a java textbook. I have a reasonable grasp of the basic concepts of java programming but one area I am always struggling with is getting the system to recognise 3rd party...