Client-Side Development Section Index | Page 2
Just use eval("your string here");
You can't. About the best you can do is hide the buttons and disable caching of the pages. Unfortunately, their keyboard equivalents (ALT+Right/Left Arrow) will still work. At least with caching d...more
The Java Activation Framework used by JavaMail is not configured correctly.
It doesn't know how to handle the text/html content type.
An html handler is provided in JavaMail 1.1.3 but the mailc...more
Frame is part of java.awt package and exists since JDK1.0. JFrame is part of javax.swing package and exists since JDK1.1.3 or something.
Frame extends Window.
JFrame extends Frame.
You can di...more
The Sun AWT classes on Unix and Linux have a dependence on the X Window System: when you use the classes, they expect to load X client libraries and be able to talk to an X display server. This ma...more
You must have a graphical environment installed on your server to work with Java image routines in AWT, even though the image will only be displayed on the client's machine.
The AWT image manipul...more
There are a few ways that you could try, although it all depends on any restrictions you have on deployment.
First off, you could use Swing's JTree in a small applet. This would require the use o...more
Short answer: you can't. Fortunately, sessions expire automatically after a period of time; check your servlet engine documentation to see how to set this timeout period.
I felt that there should...more
(see also this
that in turn puts the code into the page.
You can overwrite a document fra...more
No, there isn't. Remember, JSP is strictly a server-side technology, which is responsible
for generating dynamic content in HTML, DHTML or XML format. Setting focus on
specific input elements wi...more
Well there are many reasons.
Say, you wanted to catch all the mouse events across all the GUI of your application.
Without tapping the EventQueue you will have to add a mouse listener
I am trying to store the value of a SELECT object in a session variable so it can be accessed in other JSP's...more