Click here to Skip to main content
15,889,335 members
Home / Discussions / Java
   

Java

 
GeneralRe: user authentication Pin
Kunalpuranik16-Mar-10 0:32
Kunalpuranik16-Mar-10 0:32 
GeneralRe: user authentication Pin
Richard MacCutchan16-Mar-10 3:30
mveRichard MacCutchan16-Mar-10 3:30 
GeneralRe: user authentication Pin
David Skelly16-Mar-10 3:39
David Skelly16-Mar-10 3:39 
GeneralRe: user authentication Pin
Richard MacCutchan16-Mar-10 4:15
mveRichard MacCutchan16-Mar-10 4:15 
QuestionJava3D Pin
java3dArtist15-Mar-10 0:03
java3dArtist15-Mar-10 0:03 
AnswerRe: Java3D Pin
Richard MacCutchan15-Mar-10 0:27
mveRichard MacCutchan15-Mar-10 0:27 
QuestionImporting and parsing a wsdl 2.0 definition,in java Pin
userkm14-Mar-10 12:43
userkm14-Mar-10 12:43 
QuestionFill And Post Method to Web page Pin
darkimmortalbora11-Mar-10 9:34
darkimmortalbora11-Mar-10 9:34 
Hi I'm tring to track my packages with my program..
I should fill a textbox called barkod with a value .. then click the button in the

website : PTT Genel Müdürlü?ü-General Directorate of Turkish Post

Trace Registered Postal Items
_____________________
|___BARCODE NUMBER___| BUTTON


but I couldn't do it, the code still returns the source codes of the main page..
what should I do ??? =((((

int ch;
		 URL url;
		 url = new URL("http://www.ptt.gov.tr");
		// HttpURLConnection httpConn = null;
		 String page;
		 
		 HTMLDocument myDoc = null ;
		 myDoc=(HTMLDocument)url.openConnection();
		 HTMLInputElement barkod = (HTMLInputElement)myDoc.getElementsByName("barkod");
		 barkod.setValue("RJ464842336GB");
		 HTMLInputElement buton = (HTMLInputElement)myDoc.getElementsByName("Sb22");
		 buton.click();

QuestionSide scroller Pin
alexwilliams211-Mar-10 8:55
alexwilliams211-Mar-10 8:55 
Questionclear screen in java?? [modified] Pin
AmbiguousName11-Mar-10 8:05
AmbiguousName11-Mar-10 8:05 
AnswerRe: clear screen in java?? Pin
Richard MacCutchan13-Mar-10 0:23
mveRichard MacCutchan13-Mar-10 0:23 
GeneralRe: clear screen in java?? Pin
AmbiguousName13-Mar-10 1:29
AmbiguousName13-Mar-10 1:29 
GeneralRe: clear screen in java?? Pin
Richard MacCutchan13-Mar-10 10:02
mveRichard MacCutchan13-Mar-10 10:02 
QuestionProb in MultiTextures Pin
002comp11-Mar-10 0:05
002comp11-Mar-10 0:05 
QuestionAllow applet access to printer - once and for all Pin
Klazen10-Mar-10 11:19
Klazen10-Mar-10 11:19 
AnswerRe: Allow applet access to printer - once and for all Pin
Richard MacCutchan11-Mar-10 1:46
mveRichard MacCutchan11-Mar-10 1:46 
GeneralRe: Allow applet access to printer - once and for all Pin
Klazen12-Mar-10 13:29
Klazen12-Mar-10 13:29 
GeneralRe: Allow applet access to printer - once and for all Pin
Richard MacCutchan12-Mar-10 21:53
mveRichard MacCutchan12-Mar-10 21:53 
QuestionRe: Allow applet access to printer - once and for all Pin
RB Chowdary23-Feb-11 19:51
RB Chowdary23-Feb-11 19:51 
AnswerRe: Allow applet access to printer - once and for all Pin
Andrew Thommo23-Feb-11 23:24
Andrew Thommo23-Feb-11 23:24 
GeneralRe: Allow applet access to printer - once and for all Pin
Marc Schabb4-Jan-12 7:14
Marc Schabb4-Jan-12 7:14 
Questionprevent multiple instances of same server over the network Pin
A-MEN10-Mar-10 6:40
A-MEN10-Mar-10 6:40 
AnswerCross-post Pin
Kristian Sixhøj10-Mar-10 7:01
Kristian Sixhøj10-Mar-10 7:01 
Questionprintf() help?? Pin
AmbiguousName9-Mar-10 7:49
AmbiguousName9-Mar-10 7:49 
AnswerRe: printf() help?? Pin
Richard MacCutchan9-Mar-10 9:02
mveRichard MacCutchan9-Mar-10 9:02 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.