Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: Trigger Button in Html

  1. #1
    Junior Member
    Join Date
    Oct 2010
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Trigger Button in Html

    Hi,

    I would like to create a java code that connect to Html and does several things:
    1. How ca i trigger a click on a button in the html?
    2. When the button is pressed the html is exporting the data to an excel file by
    popup a window (open, save, close window).
    how can i cause the html not to open the popup window and always save the file,
    or export the data to the java client.

    Thanks


  2. #2
    Forum VIP
    Join Date
    Jul 2010
    Posts
    1,659
    Thanks
    25
    Thanked 325 Times in 302 Posts

    Default Re: Trigger Button in Html

    I'm told the robot class might be good, but it will not hide its work.

    More importantly, you need to find out where you are pulling the data from. I was going to do this sort of thing for work once, then a very smart person pointed out that doing that would technically be considered hacking. If you are pulling data from a website you do not own, it is best to get permission from the owner, just to make sure you won't get sued.

    It's a stupid law, but it is what it is.
    NOTE TO NEW PEOPLE LOOKING FOR HELP ON FORUM:

    When asking for help, please follow these guidelines to receive better and more prompt help:
    1. Put your code in Java Tags. To do this, put [highlight=java] before your code and [/highlight] after your code.
    2. Give full details of errors and provide us with as much information about the situation as possible.
    3. Give us an example of what the output should look like when done correctly.

    Join the Airline Management Simulation Game to manage your own airline against other users in a virtual recreation of the United States Airline Industry. For more details, visit: http://airlinegame.orgfree.com/

Similar Threads

  1. Keep it simple for the retard- Outputting audio on a trigger.
    By andypooz in forum What's Wrong With My Code?
    Replies: 0
    Last Post: April 17th, 2010, 08:14 AM
  2. please solve this question on html:multibox?
    By tejz in forum JavaServer Pages: JSP & JSTL
    Replies: 0
    Last Post: February 13th, 2010, 02:18 AM
  3. Help with html tags in java
    By peliukasss in forum Member Introductions
    Replies: 0
    Last Post: February 2nd, 2010, 05:47 AM
  4. Concatenating string with html tag
    By subhvi in forum Java Theory & Questions
    Replies: 4
    Last Post: September 29th, 2009, 05:47 AM
  5. [SOLVED] Using html Radio Buttons with Servlets
    By oss_2008 in forum Java Servlet
    Replies: 2
    Last Post: June 25th, 2009, 05:39 AM