DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = DB Error: 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 2

SELECT * FROM `user` the_table WHERE the_table.userid = In Java, how do you send keystrokes to a browser? - iTechForums
Login
Search
Welcome to the iTechForums.
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.
To register now click here.
Latest Threads
Advertisements
Forum Statistics
Threads:
Posts: 2
Members:
Number of Users Online:
Welcome to our newest member,
Reply
 
Thread Tools Display Modes
  #1  
Old 05-14-2008, 06:43 AM
homelessmuscles homelessmuscles is offline
Junior Member
 
Join Date: May 2008
Posts: 1
Default

In Java, how do you send keystrokes to a browser?


An example snippet of code would be helpful. Are there any java utilities built-in for sending keystrokes to other programs?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 05-14-2008, 06:43 AM
blessed_thang blessed_thang is offline
Junior Member
 
Join Date: May 2008
Posts: 20
Default

Not sure what you are trying to do. In general, you can sniff the OS to see what flavor it is and then tell the JRE runtime to execute a command. eg, as an example that commands a browser to goto a specific url ....

if (windows)
{
// cmd = 'rundll32 url.dll,FileProtocolHandler http://...'
cmd = WIN_PATH + " " + WIN_FLAG + " " + url;
Process p = Runtime.getRuntime().exec(cmd);
}

Note: this would be an Application, and NOT an Applet. This a forte of a a Unix/python combination which works very well for the whole of the 'nix platforms.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
i need learn java script any best & good web site send me please ? SURESH Web Scripts 4 06-06-2008 02:13 AM
Java send webpage username and password to automatically login via running program? Cheese Java, Java Servlets & JSP 0 05-06-2008 06:00 PM
how to change the css style when browser=IE ? mabedan CSS 0 05-06-2008 10:20 AM
how to run php script on a web browser? mots Web Scripts 0 05-06-2008 10:10 AM
Looking for CSS Style sheet switcher based on browser and browser... Jamaal E CSS 0 05-03-2008 08:26 PM

Your Ad Here

All times are GMT. The time now is 12:51 PM.