Annette L'Heureux

Ranch Hand
+ Follow
since Dec 07, 2000
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
0
Received in last 30 days
0
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Annette L'Heureux

Hi!
I've been reading about preloading images, but I just can't seem to find how you would show them, once they've been preloaded. I'm trying to create a test page that would preload a bunch of pictures, and then display them. What's the best way to do this without putting a button or some other object on the screen? I think it has something to do with document.images, but I can't find the exact syntax.
Thanks again,
Annette
Hi!
I'm trying to do something incredibly simple, and it's not working. I've been trying for 2 days to figure it out, and I give up! I want to display an image in a web page with nothing else on it, using the img tag.
Here's what I've tried:
<img scr="c:\pictures\balloon1.jpg">
<img scr="balloon1.jpg"> (The html file is in the same folder as the pictures)
I've tried a bunch of other stuff, moving the html file, different ways of typing the url, with or without the quotation marks, you name it, I've tried it. Well probably not everything, since I still can't get it to work! I'm using netscape 4.7.
What do you think I'm doing wrong?
Annette
No, I'll only be using it once. As far as I know, anyway. Plus the page that it's coming from is generated by a servlet. So I just needed to know how to write out the line, with the appropriate characters and stuff. But thanks! That would have been another option! (and still might be if I will need to use it more!)
Annette
Great! I'll try it. I don't have to do anything different in terms of calling the servlet or anything, right? Just clicking on the link will do it?
What about at the servlet side?(another forum right?)
Can I say req.getParameter(name)?
'name' being the variable after the '?'
Hi!
Someone told me last night that you can pass a value through an anchor tag. How exactly do you do this?
ex:

in the example, I was told that after the location, you can put a question mark followed by the variable name, and then the value. Do I have it right?
It's then going to a servlet doGet method.
I'm using iPlanet as everything. I think it's got a built-in application server.
Really?
So if the application gets moved to another server, we would have to move the properties file and then chance the path in every servlet that calls it?
(just need to get my case together so I can tell them it's not possible!!)
Hi!
I think what I'm trying to do is an absolute url....I'm not sure!
In my application, I read variables on a properties file. Right now, the path to the file is hard-coded (ie e:\sites\.....)
I need to change that so that I can read the properties file no matter where my servlet is. I tried using the same format as when I call another servlet from an html page
(form action="http://keoki.ncr.pwgsc.gc.ca:8080/....")
but that doesn't seem to work.
What is the correct way to write the url?
Thanks!
Annette
Ok! Seems to work, or at least partially. I can now read from the file. I think I had the wrong path, or I had written it wrong. I also did not know about the double "\".
Thanks for now! (I'm sure there will be more questions later...)
Annette
Thanks Mark!
That's exactly the kind of answer I needed!
Now all I need to do is get this done in time for tonight's class!!
Thanks again!
Annette
Thanks Thomas!
I don't know what the problem is then. I've even tried just reading the file with the dbProps.getProperty() and outputting whatever it says, and I get nothing. I'm trying to find some more documentation on this stuff so that I can better understand it. It doesn't seem like it should be too complicated, but hey.
Hi all!
I'm just starting to learn UML in a class I'm taking, and I need to do some use cases for a project we're working on. We've already got the first diagram with the people and all the things that happen on it, but now it's time to start breaking things down and doing these "use cases".
What, in 10 words or less, is supposed to happen in a use case? Do you just describe the steps?
(I wish they had given us some notes or something!!!)
thanks!
Annette
Hi!
I just can't seem to get this darn thing working!
I have a .properties file that I created, and I wasn't sure where to put it so I put it in the folder where I keep my regular html files. I did this because I need to be able to call it, and I figured I could just do this:
"http://keoki.ncr.pwgsc.gc.ca:8080/myfile.properties"
With my regular html files, anything after the "/" is looked for in this particular folder. Right?
Is this what's supposed to be done? Why can't anything be read off the file?
Thanks again,
Annette