Javascript Section Index | Page 15
When I display HTML in a JEditorPane, does it support JavaScript?
No.
How do I create a window-less frame to put my applet (applet only no borders)? or is that possible?
Anything you do like this would not be from Java. You should be able to do this with JavaScript. http://plutoniumsoftware.com/games/bm3d/ does something similar to what you want, but not exactly.
...more
How can you copy a JavaScript variable to a JSP session variable without using cookies?
How can you copy a JavaScript variable to a JSP session variable without using cookies?
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
How do I download a (binary, text, executable) file from a servlet or JSP?
Solution 1: Just use HTTP! This has nothing to do with servlets per se. Make sure the file is on your web server. Then you can either embed a link for your user to click, as
<a href="run...more
How do I open and redirect to a popup window from a servlet? (Under certain circumstances I want my servlet to bust out of the frames and redirect to another servlet or page.)
You can't do this directly but it is easy to do indirectly using JavaScript.
Essentially you return a page that has as its onLoad event code that opens a page and gets your new data.
Your servle...more