David Edelstein

Greenhorn
+ Follow
since Jan 09, 2002
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 David Edelstein

I want my web app to be compatable with all the prevelant browsers out there. Do you guys have any suggestions for some open source methods of validating this?
I'm trying to use frames and am having some problems with jsp's in the frames on Netscape 4.0. Should I be concerned with this? Also, I notice when using Netscape 4.0 that it doesn't like parameters passed into it with spaces? Does anybody still use Netscape? Is it bad practice to pass parameters with spaces? It seems to work fine in IE.
Check out my site, any feedback would be appreciated.
www.regalosdelmundo.net
thanks!
David
21 years ago
JSP
Hi Michael,
Thanks for the suggestions. Unfortunately, it looks like the cmd program isn't available on my version of Windows Millenium. I like your idea about the properties file and am going to persue that route.
Thanks again
David
22 years ago
I'm trying to run the Tutorial from SUN on RMI.
http://java.sun.com/docs/books/tutorial/rmi/running.html
I'm having trouble entering the following java command in MS-Dos:
java -Djava.rmi.server.codebase=file:/c:\home\jones\public_html\classes/
-Djava.security.policy=java.policy
client.ComputePi zaphod.east.sun.com 20
the Dos prompt in Windows Millenium only allows a maximum of 127 characters. How can I run these commands which are longer then the allowed input at my Dos prompt?
Thanks in advance.
David
22 years ago
I figured it out and it works just as I described.
22 years ago
I have an HTML page broken up into two frames. In one frame I have an applet with a graphical slider and a submit button. The slider increments an integer (int rating) from 0-100. When the submit button is pressed the applet sends the rating the slider was set at (in String format) as a parameter within a post method to a servlet with the target of the servlet being the other frame on the same HTML page. The servlet reads the parameters from the post request thus getting the rating that was submited. It works beautifuly and is cool because the applet doesn't have to reload everytime the submit button is pressed.
My problem is that if refresh is pressed within the browser, the servlet gets the same post request sent to it again. I need to set something up similar to a tokenizer pattern that will only allow the servlet to do its thing if it is a true new post from the applet and not just a refresh request.
I was thinking to maybe get the current time in the applet when the submit button is pressed store it as a parameter and sending it along with the rating value to the servlet. The servlet could store the time from the applet post in a session of the servlet and then only process the request if the time stored in the session does not equal the parameter assigned from the applet submission.
Do you have any better ideas? How would I get the time from an applet object?
Thanks for your input!
22 years ago