Page 5 of 20 FirstFirst ... 3456715 ... LastLast
Results 81 to 100 of 395
  1. #81
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

  2. #82
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    hello sir what happen...

  3. #83
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Hi

    i am going to logoff becouse my time is over.But i hope next i got good news..

    Plz help me to solve the problem

  4. #84
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Hi

    what happen,i am waiting for your ans..

  5. #85
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Ok, at the end I change whole project in working way in my passion. Work on NetBeans. Everything is fine. Lets start work on it.

    After compiling and run the server class, I got the project main GUI. After that how did you deal with the proxy? I'm lazy to read that web page.

  6. #86
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Set internet explorer setting.i mean Tool->internet option->connection->lan Setting->proxyserver

    put there server Ip and port 8080

  7. #87
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Yes, I'm currently working on it. That's listening port at office. I'm asking you how to start work with this server. How to pass some request to it? and so on....

  8. #88
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    you have to change some line httpRequest file..

    Java Code:
    method = getToken(tz).toUpperCase();
         
           url = getToken(tz).substring(0);
           
         //  	url = getToken(tz);
           
           
           
          version= getToken(tz);
                   
          
    		   if (url.indexOf("://") < 0)
    		     {
    		    	  
    		      url = "http://"  + url;
    		      
    		      
    		     }

  9. #89
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Now simply you type url...

    I hope this time it will work..

  10. #90
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    Yes, I'm currently working on it. That's listening port at office. I'm asking you how to start work with this server. How to pass some request to it? and so on....
    Here not need to start extra server for start proxy server.Just you run the code and set the IE and it will work..

  11. #91
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Ok, but are you sure need to change the url format. Are you sure that url is not change at runtime?

    What next I have to do.

    All I'm looking that how your thread execute. I think you not familiar with. Just looking your output send here last evening, seems to me your thread runs and hold in specific intervals for request.

  12. #92
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

  13. #93
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    yes "browser"

  14. #94
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Quote Originally Posted by Eranga View Post
    Ok, but are you sure need to change the url format. Are you sure that url is not change at runtime?

    What next I have to do.

    All I'm looking that how your thread execute. I think you not familiar with. Just looking your output send here last evening, seems to me your thread runs and hold in specific intervals for request.
    yes i am not too much familiar with thread....

  15. #95
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    Never mind, that's working fine for me. I've debug and see, I just got only one output result at a time. I've test on several instance. It's work fine too.

    Give separate outputs for each instance.

  16. #96
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    have you any change in code..

  17. #97
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    I have do some changes in whole project. But it not effected to your code. And also no need to use your changes too. It's done by the project it self.

    Without your code changes, what happened.

    Thread is running fine too.

  18. #98
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

    Default

    Sir how can i got same out put..

    plz tell me

  19. #99
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,371
    Blog Entries
    1
    Rep Power
    20

    Default

    What you mean the same output?

    According to the proxy class and our log file reader implementation, on the console we got the proxy server IP. See my log file record for testings done at the time.

    Java Code:
    192.168.2.17	209.131.36.158	GET	http://www.yahoo.com/:80	13:1:40
    192.168.2.17	209.131.36.158	GET	http://www.yahoo.com/:80	13:9:44
    192.168.2.17	209.131.36.158	GET	http://www.yahoo.com/:80	13:15:11
    192.168.2.17	64.233.161.104	GET	http://google.lk/:80	13:15:42
    192.168.2.17	204.9.163.158	GET	http://ui.skype.com/ui/0/3.2.0.152/en/getlatestversion?ver=3.2.0.152&uhash=1af11527ad1e2f67fc661bd5a64e92b7c:80	13:19:15
    192.168.2.17	64.233.167.147	GET	http://www.google.lk/:80	13:23:55

  20. #100
    Mir
    Mir is offline Senior Member
    Join Date
    Mar 2008
    Posts
    447
    Rep Power
    7

Page 5 of 20 FirstFirst ... 3456715 ... LastLast

Similar Threads

  1. Must Read.....
    By sanjeevtarar in forum Forum Lobby
    Replies: 10
    Last Post: 03-03-2010, 08:16 PM
  2. how to read a form with JFS
    By crispy in forum JavaServer Faces (JSF)
    Replies: 2
    Last Post: 05-01-2008, 04:07 PM
  3. Read file
    By tajinvillage in forum Threads and Synchronization
    Replies: 0
    Last Post: 01-29-2008, 10:10 AM
  4. How to read the following
    By rrp in forum New To Java
    Replies: 0
    Last Post: 12-03-2007, 07:16 PM
  5. read txt file
    By sureshsri1981 in forum JavaServer Pages (JSP) and JSTL
    Replies: 0
    Last Post: 08-05-2007, 04:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •