Hi there. Was wondering if anyone could help me on this (hopefully straightforward) question:
I have a test function that accepts an element parameter, and attempts to use DOM to find all child anchor elements below this node, and then find the class attribute for each anchor. The code should...
Hi there, just playing around with the apache digester.
If anyone can point me to a good tutorial on its usage, or can make suggestions on code changes for my small test program, I would appreciate it:
Say I have a simple class like:
import java.util.Date;
public class User {
private String...
Suffering a mental block. Anyone have a quick template to turn "some.string.with.delims.foo" to "foo"? I don't think the substring-after function will do the trick unless I recurse it?
A quick question for all of you project gurus...
Is there an easy way of coloring tasks in the Gantt chart view according to the resource assigned to this task. Or since you can assign more than one resource, is this not possible? If not, then I guess I can use a custom flag to achieve a similar...
I am currently tasked with designing an Applet. One of the main risks I can see is that the applet is expected to require XML processing, RMI-IIOP, etc.. all of which leads to a HUGE number of classes to donwload. I want the applet to start up quickly. I am currently reading the excellent 'Java...
One for you javascript experts.
I have a highly complex form. When the user clicks the submit button, I would like a new window to be opened with a specific width and height. In order to achieve this, I have been hand constructing my query string, appending to my URL, and then using window.open...
I was wondering if anyone could explain how to achieve the following. In my XSL, I have a child element whose parent may or may not have specified a width attribute. I believe the following element will grab the value:
<xsl:value-of select="../@width"/>
However, how do I assign a...
are the classes in an applet cached on the client side, so that subsequent revisits to the same applet start up quicker?
thanks for any information, FAQ/RTFM links, etc... :-)
In IE, pressing CTRL-N creates a new window, containing the same contents as the old window.
Does anyone know how to perform this in JScript?
Thanks, Neil :)
Hi there, was wondering if anyone had experienced similar problems with Java Web Start ActiveX. I have inherited the following client side code to determine for Windows and Netscape if Java Web Start has been installed:
<script language="Javascript">
var javawsInstalled = 0...
Hi. I know this is the J2EE forum, but I can't seem to find any forum related to Borland Appserver. I was wondering if anyone who uses this on Solaris had ever encountered the following issue:
$ console.sh &
$ # # An unexpected exception has been detected in native code outside the VM.# Program...
Hi there, a quick question hopefully:
I'm just playing with a small test installation, and I've totally fragged a dbspace. And when I mean fragged, I mean removed the file ;-). I just want to completely drop it. The onspaces -d <dbspace> unfortunately hangs. Is there any way I can force the...
I was wondring if any of you Enterprise gurus could help me out here?
Basically, I'm working on a portal where clicking on specific links attempts to launch Java Web Start. A URL is constructed like: Launch?app=xyz which is passed to a single servlet in a centralised WAR. The servlet reads in...
[posted to JavaScript Forum also]
Hi there, can anyone offer suggestions on the best approach to:
1) encrypt a password using client side JScript
2) post to the server
3) use enctypted password with Java login method
Thanks for any advice, cheers Neil :-)
[posted to Java Forum also]
Hi there, can anyone offer suggestions on the best approach to:
1) encrypt a password using client side JScript
2) post to the server
3) use enctypted password with Java login method
Thanks for any advice, cheers Neil :-)
I was wondering if any Java/XML gurus could help me out here. I wish to remove a subset of <item> elements from a Document, using code similar to:
public static void pruneDocument( Document document, ItemFilter filter ) {
NodeList items = document.getElementsByTagName( "item" )...
I am trying to reload a page created from a POST request. I have tried the following approaches:
# using <meta>
<meta http-equiv="REFRESH" content="20">
# using javascript:
function dynamicPage() {
setTimeout( "countDown(10)", 1000 );
}
function countDown(n)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.