I have an applet which has 2 methods that I want to use. On the first method, I am getting client printer list.
I want to use this printer list on my HTML page in a combo. The user is expected to choose a printer from this combo. After that, the user will click a button to do some operations. After clicking that button and finishing those operations, I want to call
the second method of my applet, which gets two parameters, one is a file object, other is a printer object that user already selected.
My questions are:
How can I get printer list and use it on my HTML page after page loads?
How can I send parameters to second method of my applet after clicking the button?
1 Answer