Win a copy of Five Lines of Code this week in the OO, Patterns, UML and Refactoring forum!

manav k

Greenhorn
+ Follow
since Oct 30, 2000
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 manav k

and also use ../ before your href
href='../discounting/discounting.css'
-manav
well simply because it is too late to load the css file, the page has loaded before the script has executed, what you can try to do is
1) put the script inside the <head></head> tags and see if it works
2)calculate the target file name for the css in the parent frame (that defines the frames) and then in the current frame use the pre calculated filename to load the css file.
manav
I think what kiran is talking abt is Server Side JavaScript. Yep it is possible to access databases using JavaScript, but you will need your own webserver for that becaus as far as I could remember Geocities does not support Server Side JavaScripts. But you could use java and a thin client (inside an applet and read/write to an access db)
-manav
but what about all the contributions the H1 workers from abroad made to the economy. Companies who have had problems finding sufficient numbers, in cutting edge technologies have had to rely on them so often in the past. And its not that these workers cost nothing to ppl employing them. Yes, some are exploited by the head hunting firms that recruit abroad, but its the worker thats getting exploited, because the company still gets charged (equivalant to the prevelant consulting charges, whatever they may be).
What I am trying to say is that we should not forget their input to the decade long tech fuelled boom we had, and now that things are slowing down (again which i think is temporary) your miseries should not be blamed entirely on these folks.
manav
19 years ago
well most of the cheap H1 labor was being employed by pre-ipo small tech companies that have mostly gone out of business. And for those of you who don't know loads of these workers have gone home, someone claimed a figure of about 10,000 from silicon valley alone and that was in early march.
And now most companies are shipping work overseas, the very thing that prompted the idea of h1 visas and even though companies tried to avoid shipping some of their flagship projects overseas they HAVE to now to stay competetive, i hope that satisfies the all of you now.
manav
19 years ago
i think its doing that bcz its trying to download the second image on the run and that is why it disappears...try declaring the images like this in the javascript (before the body tag of the html)
img2=new Image;
img2.src="img2.jpg";
i think even with no cache this should get the image before it loads the body
well are you calling the function from somewhere??...if you are is javascript enabled in your browser...also i noticed your script declaration has no opening tag "<"
these were my guesses
19 years ago
i have a servlet that writes file on the server but i am having some problems with the path. Even though i set the path and the root with the -r and -d option of the servletrunner it still writes the file to the default directory (just ../ of the servletrunner executable) though it reads the property file OK can anyone guess why this is happening

manav
19 years ago
i think bill is right...even if you could have nested forms I don't see how that solves your problem, the only way you can change their visibility is by using layers or div which will work with a simple form just as well and when the user is done finished creating the form and wants to submit it your servlet will receive all the fields (including the invisible ones) but the fields invisible to the user will be null thats all ....and bill i am sorry i will re-register ASAP
I don't know if this will work in this particular scenario but instead of popping up the new window when onSubmit is fired call the function that pops up the new window when the page unloads...for eg the page with the form should have a body tag like <body onUnload="popup()">
and the onSubmit just navigates to the home page. The user will still have the warning pop up but the new window will not pop up until after the warning has been returned by the user.
ofcourse if you have your own webserver or you can access cgi scripts on the server there are a lot of freeware mail forwarding software available
manav
I am calling a servlet from inside a frame..but the problem is that the output from the servlet is also directed to this particular frame...how can i redirect it to any other frame or say have it display on "top"

manav
19 years ago
bill i am guessing you want me to register my "complete" last name too...coz my first name is for real!
though the naming guide says its ok to cut short a long last name
manav
perhaps you are right bill, i am not certain. But if you have a shortcut on your desktop you can change the image associated with that shortcut by opening it in a text editor and changing the line
IconFile= path\imageName
this could be a http address
i used this method to change the icon on my desktop and made it to point to a image on webserver...the problem tho is that it doesn't work on all computers only on some...maybe it is some sort of desktop setting that some comps have switched on...like active desktop or something...i am investigation still :-)
manav
depends where the output string is. If it is in the same page as the form then you don't have to do much but as you yourself suggested
outputString= "some text" + document.formname.fieldname.value + "some more text"
which can be be a function which is fired by any event like onSubmit() etc...
if the info is to be passed to another page then you have to do a little more than that. Tell us exactly how you are setting this thing up if you need more help with this.
oh yeah...and the diff between ASP and JSP is that ASP can be written in mulitple languages (even with scripting languages like VBscript) while jsp is written in Java..