So, using NetBeans, I took an application that I wrote (
see post here), and first converted it to a Jframe-based app. It looked good. So, I then tried creating an HTML5 Application based on the app (because I'm trying to learn
java, and converting the programs).
The goal of the application takes a user submission (from a basic text field, and submit button), and returns a value from an array (into another text area).
So, in NetBeans, I created an HTML5 Application project. I created an html page, with an associated style sheet. I need to know how to connect the form to my java elements (i.e. parsing, and grabbing the array element) ... and how to display a result. Any tutorials that someone can recommend? I see plenty of HTML5 App tutorials, but none discuss form affecting content. I could rewrite my array in javascript, and have everything function through the webpage ... but I'd like to learn how to do this using java.
Below is the general form that I an using...