I am converting some software that was writting under Java 1.3.1 to Java 1.5, and I am getting two compile errors that I have never seen before. Both are related to import statements.
Here they are:
1) "<class name> is already defined in a single type import".
This one is happening with...
Hey all,
Is there a way to close a 'child' window automatically when the parent browser window is closed.
By child window, I mean a pop up window that was opened from an action in the parent browser window. When the parent browser is closed, I want the child to also close.
Thanks in advance...
You guys have been so helpful, and I now have one more slight problem. I've implemented the code that cLFlaVA suggested, and it works great for the most part.
I.E.:
var e = document.forms['formName'].elements;
for (var i = 0; i < e.length; i++) {
if (e[i].type == 'select-one') {...
You've given me an idea...
Perhaps in the onload event, I could iterate through all of the elements in the form, and "fire" the change event for each Select menu.
Does that sound feasible?
I would need to be able to do things:
1) Know if an element is a Select menu.
2) Trigger each select...
I'm sorry, I should have explained the problem better...
Using the 'onload' event in the body is not possible because there may be many pairs of Select menus and text fields on the page. Also, there may be other select menus and text fields on the page which do not need to have this...
I have a text input field which needs to be enabled/disabled based on the current selection in a Select menu.
I have it 90% working. The easy part is already done, i.e.: I added an "onchange" listener to the Select menu. Whenever it changes, the function checks the current selection, and...
I have a VERY simple piece of JavaScript code that works in FireFox, but for some reason, does not work in IE or Netscape.
Here is the code, I will describe the problem below...
<script type="text/javascript">
function processOp(opFieldName, textFieldName)
{...
Hey all,
I'm having a problem with then encodeURL( ) method of the HttpServletResponse class.
When I encode a URL that is pointing to a servlet, the encoded URL string I get back give the web server (iPlanet 4.1) a problem. I get a ClassNotFoundException because it is viewing the appened...
Thanks Ken.
Well, I actually am having a problem. It seems these files grow rather large relatively quickly. Being that they are in a /tmp directory, I thought they would eventually go away, but that doesn't seem to be the case.
Is there anyway to stop these files from being generated...
Hey all,
I'm having a problem with log files being generated that I don't necessarily want. In particular, in the /var/tmp directory, a bunch of files are being created, all starting with the letters "wsc". An example would be wscAAAig20s or something along those lines.
My...
I am getting this error when I try to load my Servlets. I am using iPlanet Web Server, and they were working correctly at one point. Does anyone have any idea what might generate this problem?
Thank you ------
KJR
From experience, there is no "short cut" to creating a BTree. To code one that works properly, it will be slightly involved depending on whether it is to be persistant or not. ------
KJR
String s = "ABCDEFG";
String begin = s.substring(0, 2);
String end = s.substring(2, s.length());
//Then, you have:
begin = "AB"
end = "CDEFG"
Hope this helps :) ------
KJR
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.