No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
6 Posted Topics
Well in relation to threads, I major difference is that a Vector is synchronized and an ArrayList is not synchronized. What this means is, if two threads attempt to access a Vector it will be synchronized. One thread will have to wait until the other thread is finished accessing the …
What this means is, if two threads attempt to access a Vector it will be synchronized. One thread will have to wait until the other thread is finished accessing the Vector.
You should post the solution even if you solved it yourself to help others potentially having the same issues. Solution: Local variables need to be initialized with a value when declared.
What you need to do the following: 1. Add the onchange event attribute to the 1st select tag [code]<select name="weatherStat" id="States" onchange="addNewValue();">[/code] 2. Create a javascript function called addNewValue for example. Note: Place in the <head></head> tags [code] function addNewValue() { $('Cities').options[0] = new Option($('States').value, 0); } [/code] Ok, whats …
Please follow the suggestions outlined by peter_budo. Also, your best perhaps to avoid embedding scriplet code and use tag notation. See JSTL for example. You might be new to this area, try and follow best practices and it will make life far easier.
Hi, Yeah, your right about the ajax element. Its simple enough if you use an existing toolkit like dojo. This is what you want I believe, see: [url]http://www.dojotoolkit.org/book/book-dojo/part-2-dijit-dojo-widget-library/advanced-editing-and-display/tree/simple-tree[/url]
The End.
tommybobby