• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HTML5 Application form elements affect copy

 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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...

 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
You need to learn about servlets.
 
The harder I work, the luckier I get. -Sam Goldwyn So tiny. - this ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic