Click to See Complete Forum and Search --> : Can I read from a propertyFile???


khurley
03-31-2003, 09:29 AM
Hi - I'm new to this forum and have a question.

Is it possible to read a string from a server side property file with JavaScript?

I have image files that need to be in different directories depending on the situation. I would like to read which directory the images should be stored in - out of a propertyfile.

Thanks,
Kevin

gil davis
03-31-2003, 09:45 AM
JavaScript has no file I/O procedures.

You should look into server-side programming for security reasons, if you need information from the server. JavaScript is not a good choice for that.

khurley
03-31-2003, 09:49 AM
Thanks - I will break open my server code and have it partially build the html/javascript with the needed information.