419 Posted Topics
Re: Are you sure showMessageDialog takes arguments (null, String, String, String, String, String)? I think you need to check your argument types. | |
Re: You want to add a library, or just source files to edit? If it is a library (.jar) or something, there should be an add external library option. But I think you want to add source files, you can just drag-drop or do it directly in the filesystem. | |
Re: You don't want to just use the "scheduled tasks" that windows gives you? | |
Re: Another good java IDE would be eclipse, it has a lot of plug-ins available so you will probably find something to help you with struts. | |
Re: I didn't really look through the code too thoroughly, but: form1.balance.value + form1.buy.value; did you want += here? | |
Re: So to do this, you will need to know when the value of the combo box has changed, so look at the various events associated with combo boxes. On a particular event, you will then need to call some javascript function which will then add your textboxes. Does that help? | |
Re: you posted this in the wrong forum, you want java, not javascript. Also, please try use the code tags, otherwise it is too hard to read. | |
Re: Surely you are not expecting somebody to solve your problem for you... | |
Re: I assume each of those attributes are related. If so, you should probably encapsulate that information into an object, and then store those objects in an array. | |
Re: Are you checking your code on the same machine all the time? My initial thought is you might have javascript disabled for firefox. | |
Re: Do a google search on "AJAX" I am not entirely sure what you want, but I assume it is something like the Mac OS fish eye. I have seen something similar done in AJAX before. | |
Re: Sounds like permission on the actual FTP site. If they aren't allowing you to upload html, I don't really know what you can do. | |
Hey guys, I am writing a desktop app to interact with XML. It reads the XML fine using the DocumentBuilderFactory, but when I try to save any changed to the XML file (e.g. setNodeValue()) the changes do not save. As an example here is some code I tried, just to … | |
Re: Unfortunately I think IE doesn't support hover for anything other than anchors. BUT since this is a wide spread problem, I believe there is a free js script that takes care of this for you, if you google a but, you should be able to find it. If I knew … | |
Re: As a "newbie" isn't this a little ambitious? | |
Re: You have declared MakeVisible after you call it. I am not 100%, but you should really put your javascript in your head to avoid this. Hopefully that fixes your issue. | |
Re: [CODE]<link style="stylesheet" type="text/css" href="xxx.css" />[/CODE] Goes in your head section. | |
Re: Do you understand the concept of a stack & a queue? (That is half the problem). If you do, think of a stack or queue as an object (class). This object should hold the contents of the particular stack / queue and also the methods it has. Write some code … | |
Re: You need to make sure your particular server allows for .jsp (i.e. has tomcat or something similar installed). | |
Re: move you window redirecting code to a javascript function. Make your onclick call a function to validate the checkbox (again, in javascript), and then if the checkbox is checked you can then redirect. Actually looking at your code, you seem to be mixing 2 approaches. You do not actually need … | |
Re: [QUOTE=kahaj;469028]I'm assuming it would be via the onclick event[/QUOTE] Have you tried: [CODE]window.location = "???.html";[/CODE] | |
![]() | Re: <%! %> tags are used for declarations. I recommend you don't use this for anything other than declaring your variables, and this is probably the cause of your issues. Just use normal scriptlets <% %> for your actual statements. Good luck ![]() |
Re: If you are using visual studio, the MSDN site has a complete reference to functions you will need. I suggest you get to know the MSDN site (it can be a bit tough to begin with). | |
Re: Ok, so it is a good idea to try some javascript tutorials to get the hang of it first. Javascript can be a pain to debug from my experiences. A few things that you may find helpful to help with your tasks: - onclick() *event - visibility or display *attribute … | |
Re: Assuming you have the algorithm to reverse engineer the code, sure. | |
Re: You will only get help if we see some actual effort. Get coding. | |
Re: the easiest solution is to just use scriptlets on the page the form is forwarded to. If you want to use jsp correctly, you should not use scriptlets but instead move this code to java classes. | |
| |
Re: In css you can just change the "list-style-type" to what you want. [code] ul { list-style-type: disc; }[/code] | |
Re: Do something yourself, at least show are you having problems. | |
Re: Do just a couple of things that may cause you code not to work. I hope you are closing addRowToTable()? And also, what is theName? | |
Re: The problem lies where you are using the divisions for the second anchors in your list. The only purpose of these divisions I see is for font sizing, so I think you should move this sizing to css and remove the divs. | |
Re: why would you do this? If it doesn't work just copy it to the local drive. | |
Re: So if you want to show the value of the rolls individually, you will want something like: [CODE]System.out.println(rollcount);[/CODE] I'll let you figure out where to put it, but it shouldn't be too hard. | |
Re: Save Page As... Then you will have a copy of the javascript. Is this what you mean? | |
Re: What do you actually mean here? : [code]var txt = locationId;[/code] Because it is going to be undefined in your code. It should probably be given a string value or you need to set locationId before you use it. | |
Re: Is this just an issue with IE? If so try adding the following line. [CODE]newElem.setAttribute("className", "draggable")[/CODE] Hope this helps. | |
Re: You will need to add jars for activation and mail. Try mail.jar & activation.jar | |
Re: Do you have java installed? If so check your path variables. | |
I'm not entirely sure If this is going in the correct location. What I want is to set up my database so that it will updated every hour. I'm a little unsure on how to tackle this problem. Does oracle actually support this type of updating, and if not, would … | |
Re: They said encryption was not an issue. So just to answer the question, yes, you are going in the right direction. Just check on those braces if it is not working correctly. | |
Re: Make sure you have "com.mysql.jdbc.Driver" in your web application. It will be contained in a .jar and it needs to go with your other java libraries you use. | |
Hi, I'm trying to use a double click action on a input field. It works fine on firefox, but doesn't work on ie7 saying the object doesn't support the action. My action so far is just an alert box (for testing purposes), is this a known compatibility issue? | |
Re: [quote=krnekhelesh;400573] Are they essential????[/quote] Depends on what you are coding (Generally, I'd say no). Also, check the other forum. | |
Does anybody know if oracle saves "last modified" data? I want to use this in a archiving tool by only querying for data after/before certain dates. | |
Re: There is no need for 2 threads with the same question. If you are unsure as to how to do col4 + col5 that is a bit of a worry. Remember you are using JSP (i.e. java). |
The End.