Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HTML5 Application form elements affect copy

 
Dj Galla
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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...

 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65229
95
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to learn about servlets.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic