Web.xml to Freemind conversion





ranking Sort Sort   |   date Sort Sort   |   member Sort Sort
Syndication

15
Date Submitted Tue. Nov. 7th, 2006 12:41 PM
Revision 1
Scripter Fordiman
Tags ajax | http | JavaScript | XML
Comments 0 comments
This is a simple script to provide basic cross-platform XML request functionality in Javascript. It's meant to be the core component in any AJAX style framework. It is not an instantiable object, but instead is a namespaced microlibrary.

Calling is easy:
XMLRequest.GET(uri, query, callback, fallback)
uri: The location you're after
query: an associative array of form data to provide via the URL
callback: callback function of the form myCallbackFunction(objXMLHttpRequest), which is called upon successful (response = 200 OK) retrieval of the XML data
fallback: myFallbackFunction(objXMLHttpRequest), which is called upon failed (response != 200 OK) retrieval of the XML data.

XMLRequest.POST(uri, query, form, callback, fallback)
Similar, but does the query using the POST method. 'query' is the URL-appended data, still in associative array form, and 'form' is the same for the POST data.
4
Date Submitted Tue. Nov. 7th, 2006 10:28 AM
Revision 1
Helper fastmike
Tags Java | String | System.IO
Comments 0 comments
To create a chatprogram in java we need 2 classes one for Client and one for Server from which the client will be able to connect and exchange text messages. to compile the code simply type these commands in command prompt window:-
1)ipconfig(memorize the Ip address)
2)javac client.java
3)javac server.java
4)java server 10.69.23.203 (You need to type your own ip address)
5) After this you need to open another command prompt window(Make sure the server command prompt window is also open). now type:
java client 10.69.23.203
Thats it.
if anyone have any problems please post a comment and i will answer all of your questions or if you are having trouble in compiling.
7
Date Submitted Thu. Nov. 2nd, 2006 5:08 AM
Revision 1
Scripter SCoon
Tags Algorithm | Genetic | optimization | Random | Ruby
Comments 0 comments
This snippet illustrates using Genetic Algorithm for the hardware optimization.
8
Date Submitted Thu. Nov. 2nd, 2006 3:51 AM
Revision 1
Scripter SCoon
Tags Algorithm | Genetic | Random | Ruby
Comments 1 comments
Genetic Algorithm implementation.

See also "Weighted random selection" for RandomItemSelector class source.
7
Date Submitted Thu. Nov. 2nd, 2006 1:49 AM
Revision 1
Scripter SCoon
Tags List | Random | Ruby
Comments 1 comments
Weighted random selection from the list.

Don't forget to call itemsChanged after updating list content.
5
Date Submitted Mon. Oct. 30th, 2006 6:30 AM
Revision 1
Scripter SCoon
Tags Email | http | Mail | RSS | Ruby
Comments 0 comments
This snippet illustrates following:

1. Using http request to get the data
2. Parsing RSS feeds
3. Sending email
5
Date Submitted Mon. Oct. 30th, 2006 2:15 AM
Revision 1
Scripter SCoon
Tags "Command Line" | GUI | Ruby | Tk
Comments 0 comments
This class illustrates mixed GUI/command line parameters passing. Any parameter may be specified in the command line. All unspecified parameters will be read using GUI dialog box.
5
Date Submitted Mon. Oct. 30th, 2006 1:03 AM
Revision 1
Scripter SCoon
Tags C | CPlusPlus | Java | Ruby | String
Comments 3 comments
This class intended to collect TODO comments from java/c++/etc source files.

Example:

protected readFileData (String path) throws IOException {
// TODO: add try...catch block for IOException
InputStream is = new FileInputStream(path);
...
}


See also DirectoryScanner class.
8
Date Submitted Mon. Oct. 30th, 2006 12:17 AM
Revision 1
Scripter SCoon
Tags Directory | File | Ruby
Comments 0 comments
Customizable recursive directory scanner.
11
Date Submitted Sun. Oct. 29th, 2006 12:52 PM
Revision 1
Scripter SCoon
Tags JavaScript | PHP | Web
Comments 0 comments
Enforce loadig fresh script code for the external javascript files. Compatible with HTTP 1.0.