• Post Reply Bookmark Topic Watch Topic
  • New Topic

HTML and JEditorPane  RSS feed

 
Joon Park
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm trying to do the following:
1. Load HTML on JEditorPane
2. Retrieve INPUT TYPE=... values from it
Part of my code looks like the following:
...

...
The code will create a frame with a checkbox. What I would like to do is to know whether the checkbox is selected or not. Does anyone know how or is it simpley impossible?
Thank you so much in advance.

[This message has been edited by Joon Park (edited July 10, 2001).]
 
Jonathan Whitehead
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm not an expert on JEditorPane, but the normal thing with HTML is to have a Submit button sending all the input data to a servlet and then let the servlet find out what has been input.
Having said that, I'm trying to do exactly that, but JEditorPane seems like it doesn't respond correctly when an HTML submit button is pressed
What you want to do sounds unusual, however maybe you have a perfectly good reason for wanting to do it. It might be possible, I don't know.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!