When you click on the "ReadFile" button, the "test.txt" file will be read. The read text is passed automatically to "MyFunction" as its parameter. The Myfunction javascript is very simple here but yours can do any task such as parsing database fields.
Download AcuteSoftWebKit.zip (7KB) and unzip in your HTML directory.
Java Source: Unavailable.
Sample HTML Source:
<SCRIPT LANGUAGE="JavaScript" SRC="webkit.js"></SCRIPT>
<FORM NAME="MyForm">
<INPUT TYPE="TEXT" NAME="MyfileName" VALUE="test.txt">
<INPUT TYPE="BUTTON" VALUE="ReadFile"
OnClick='read(document.MyForm.MyfileName.value, "\\n", "MyFunction");'>
</FORM>
<APPLET CODEBASE="." CODE="AcuteSoftWebKit.class" NAME="Ask" Width=0 Height=0>
<PARAM NAME="DC" VALUE="0">
<PARAM NAME="URLS" VALUE="">
</APPLET>
Configuration: config.html
Status: Freeware.
Author: AcuteSoft
Homepage: http://www.acutesoft.com
Upload Date: August 19, 1999
New on the Java Boutique:
New Review:
Time Management Made Easy with the Quartz Enterprise Job Scheduler
Why not just use the Java timer API? This open source scheduling
API boasts simplicity, ease-of-integration, a well-rounded feature
set, and it's free!
New Applet:
Reverse Complement
Reverse Complement is a simple applet that converts DNA or RNA
sequences into three useful formats.
Elsewhere on internet.com:
WebDeveloper Java
Lots of Java information on webdeveloper.com
WDVL Java
Thorough Java resource at the Web Developer's Virtual Library.
ScriptSearch Java
Hundreds of free Java code files to download.
jGuru: Your View of the Java Universe
Customizable portal with online training, FAQs, regular news updates, and tutorials.